# $EPIC: loadinfo.txt,v 1.2 2006/08/01 04:07:08 sthalik Exp $
$loadinfo()
This could be used to reload scripts that were not loaded with the correct loader.
During a /LOAD, the line number and filename of the file being loaded and “pf” if the script was loaded with /LOAD -pf or “std” if loaded with the standard loader, or -1 if called when no file is currently being loaded.
To make sure that a script is loaded with the pre-formatted loader, put the following at the top of the file:
if (word(2 $loadinfo()) != [pf]) { load -pf $word(1 $loadinfo()) return }