User Login
Name
Password
Site Contents
News
About
Download
Scripts
Tutorials
Register
Support
FAQ
Script Reference
New User


Contact Me
Xide
Online Scripting Reference

load

Purpose
Loads a script from a file.

Syntax
load {scriptName}

{scriptName}: The name of a script to load.



Notes
This is exactly the same as the $SS TWX Terminal Menu function.

Example



Xide - 9 June 2004 at 5:42 AM  (EST)
I try to discourage people from writing scripts that interact with eachother as much as possible. The reasoning behind this is to try to keep the scripts as simple and maintainable as possible. TWX wasn't really designed to share data or states between two scripts - its difficult to properly integrate into the language and is grossly inefficient.

With the ability to 'include' subroutines (as introduced in 2.00), it is no longer necessary to write scripts that execute in parallel and need to share data. The only reasoning I can see behind doing this would perhaps be to avoid rewriting existing code or when interfacing with an encrypted script.



Return to item listing