next up previous contents
Next: About this document ... Up: Scripting Previous: User Defined Functions

Loading Script Files

Files containing function declarations can be stored in a file ending in the extension .n. These files are loaded when the filename is called, but without the .n. Thus, if a file ``foo.n'' exists in the directory from which Gnatlab is called, and while in Gnatlab the User types foo, Gnatlab will first search for a function by the name of foo, failing to find that, it will open the file ``foo.n'' and evaluate its contents.



Arun Francis Rodrigues
1999-08-17