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>unload_scr</b> <u>introduced: v3.12</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  UNLOAD_SCR                            Introduced: v3.12

  .  Summary

  unload_scr(str <filename>);

  .  Description

  The load_scr function can be used by a script file to load another
  script into memory ahead of time (before it is run). The unload_scr
  function should then be used to unload or take out this script when
  it is no longer needed. <filename> is the name of the script file to
  unload, and if no extension is given, ".SLC" is assumed. Note that a
  script that is currently executing or that is nested (has called the
  current script) must not be unloaded, since Telix is still executing
  it or will return to it eventually!

  .  Return Value

  If there is a problem unloading the script file, a value of -1 is
  returned. Otherwise a non-zero (TRUE) value is returned.

  .  Example

  int stat;
  stat = load_scr("TEST");     // load TEST.SLC
      ...                      // do other things
  unload_scr("TEST");          // take TEST.SLC out of memory

See Also: call calld load_scr is_loaded

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