previous next top complete contents complete index framed top this page unframed
Figure 47–26. $setSearchPath
| PROCEDURE $setSearchPath (STRING pattern,path); |
The PROCEDURE $setSearchPath allows a user program to get the effect of the MAINEX SEARCHPATH subcommand (see Section 21.2.35 of the MAINSAIL Utilities User's Guide). For example, the effect of the subcommand:
SEARCHPATH source:* *.msl /old/*.msl
may be obtained from a MAINSAIL program with:
$setSearchPath("source:*","*.msl /old/*.msl");
The PROCEDUREs $getSearchPath and $applySearchPath may be used to examine a searchpath from a program; see Section 30.15.
The searchpath pattern and path syntax may change in future releases.
MAINSAIL Language Manual, Section 47.22