Back Previous Next


Linguist basic package - open

Syntax:

   open {file} {name}
   open {file} using dialog {title} [at {left} {top}]

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKOpen.class

Runtime handler(s):

   net.eclecity.linguist.basic.handler.BasicHOpen.class

Function:

Open an existing file. You can either provide a pathname or request a dialog. If the latter, the system will remember the last directory you visited and return to it next time. If you want to run the script on more than one operating system, be sure to use Unix-type path separators as in the example. See also close.

Example(s):

   open InputFile "MyData/mydata.txt"
   open InputFile using dialog "Choose a file" at 300 450


Back Previous Next