[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  LOAD_SCR

  .  Summary

  load_scr(str <filename>);

  .  Description

  When a script is run (either by the user manually running it from
  terminal mode, or from within another script), it is usually loaded
  from disk. The load_scr function is used to load a script into mem-
  ory ahead of time, providing a savings in time when the script must
  be run repeatedly. <filename> is the name of the script file to
  load, and if no extension is given, ".SLC" is assumed.

  .  Return Value

  If there is a problem loading the script file (it is not there or
  there is not enough memory),a value of -1 is returned. Otherwise a
  non-zero (TRUE) value is returned.

  .  Example

  int stat;
  stat = load_scr("TEST");     // load TEST.SLC

See Also: is_loaded call calld unload_scr
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson