Comment on this topic

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)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

BASIC.DUMP Statement

Writes a SOFT dump item to the BASIC-DUMPS file.

Syntax

BASIC.DUMP {message} {"F"|"P"}

Syntax elements

messageAn optional string that is included in the dump item.

FAlways dump variables.

PNever dump variables.

Comment

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.

Example

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”.

See also

DataBasic application dump

RealityV15.2Revision 3Comment on this topic