Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telix/SALT v3.15 & RS-232, Hayes - <b>load_scr</b> http://www.X-Hacker.org [<<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

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson