Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.2 Online Documentation (MoTW) Revision 3
BASIC.DUMP statement (DataBasic) (BASICDUMP_S.htm)
Writes a SOFT dump item to the BASIC-DUMPS file.
BASIC.DUMP {message} {"F"|"P"}
messageAn optional string that is included in the dump item.
FAlways dump variables.
PNever dump variables.
If neither F nor P are specified then whether or not the SOFT dump item includes program variables and their contents depends on the current setting of the DUMP.BASIC.VARS custom environment option.
IF X = 1 THEN GOSUB DOIT END ELSE BASIC.DUMP “Expected ‘X’ to be 1 not ‘“:X:”’” END
The above program fragment generates a SOFT dump item with a message containing the unexpected value of “X”.