Filename specifications
Specifying a filename when using list_open(),
list_file(), file_copy(), and log()
Filename can be a simple filename or specified in a similar
manner to UUCP, "<host>!<filename>" where
<host> is either a standard internet address or one of the following
(case insensitive) special names:
-
| GUI |
specifies the machine where GUIslave
(gcmnode.exe) resides. When using GUI, a special <filename> CLIPBOARD specifies the actual clipboard. |
| VORTEX |
specifies the machine where the current connected database driver resides. |
| NET |
specifies a URL. Currently HTTP and FTP (read only) protocols
are supported. |
Whenever a file name is specified the extended file names are available.
Examples
Loads a list from a user-specified database table. This list
is filed to the clipboard and, from there, loaded into a new list.
{
list LL;
LL = list_open("select * from " ^^ prompt("Enter table name"),1000);
list_view(LL,0);
list_file(LL,"gui!clipboard","a");
list_view(list_open("gui!clipboard",10000),0);
}
Goes to specified URL and loads default page.
{
list LL;
LL = list_open("net!http://www.trifox.com",1000);
list_view(LL,0);
LL = list_open("net!ftp://ftp.trifox.com/pub/docs/INDEX",1000);
list_view(LL,0);
}
Updated 18 Jul 1997.