- DefFn
- ---------------------
- Different
to basic
-
-
- DefFn is now a single
keyword without spaces and in WimpBasic
- the function name should include a type character
such as
- '%'
or '$'. This
allows the compiler to check that you
- are using the right variable type and thus it
is less likely
- that you will get a run time error as in BBC
Basic.
-
- Use: Define function.
-
- Syntax is: DefFnName
Note: Windows and menus do not appear until the last = sign
is reached. If you open something like a warning box and you
want to close it after a period of time then the delay must be
done in a separate procedure. See the Warn file in the
tutorials for more information.