Back Previous Next


Linguist basic package - set

Syntax:

   set {variable}
   set {module} to parent/{string value}
   set the file path to {path}

Keyword handler:

   linguist.basic.keyword.BKSet.class

Runtime handler(s):

   linguist.basic.handler.BHPut.class
   linguist.basic.handler.BHSetModule.class

Function:

The first form sets a variable to a logical true (value is 1).

The second form assigns a module variable. This can either be the parent of the module doing the assignment or any other module, identified by its name. In the latter case the system will attempt to located the named module.

The third form sets the starting directory for a file dialog - see open.

Example(s):

   set Flag
   set Module2 to parent
   set Module2 to "Module2"


Back Previous Next