Home > Support > FAQs, latest to oldest...

Northgate Reality

FAQs, latest to oldest...

How do I null a variable within the DataBasic Debugger

Use single or double quotes to achieve this, (Reality's DataBasic Debugger will take single or double quoted encapsulated data and use the contents as the contents of the variable.).

Therefore,
var = "" would null the variable
var = '' would null the variable
var = "''" would set the variable to ''(two single quotes)

This is also supported for dimensioned arrays.
var(10)="" would null element 10

From Reality V10, this has been extended to elements within Dynamic Arrays
e.g.
Var<2> = "" would null the element 2 in the array Var.
Var = "" would null the entire array.

Back