NilProgram

Prev Next Home Home Table Of Contents Index

NilProgram

Normally, if you use the Run command on a Nil value, it does nothing. However, if you set NilProgram to the Loc of a procedure then it will run that procedure instead. This is used if you are writing an interpreter in MarxMenu and you want to deal with a "command not found" type error.


Example:
NilProgram = Loc BadCommandError

Category: Execution

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home