Raz

Raz allows you to set variables or variable classes to null values.

Syntax

 Raz LIST_OF_CLAVAR

If an array variable is given without an index, all the indexes are erased.

Examples

 # Set to zero all the local variablesRaz [L]# Set to zero an element of a 2 dimensional arrayRaz MATRIX(1,5)# Set to zeo a list of variables and the buffer class of a tableRaz I,J,K,[F:MYCUST], MY_DATE

Description

Raz allows you to erase, or to reset to "null values" a class, or an array, element in an array, or a variable.

Although there is no real "null value" managed by the engine, the following value is set depending on the data type:

Data typeValue set by Raz
[Char](../4gl/char.md), [Clbfile](../4gl/clbfile.md)empty string " "
[TinyInt](../4gl/tinyint.md), [Shortint](../4gl/shortint.md), [Integer](../4gl/integer.md), [Decimal](../4gl/decimal.md), [Float](../4gl/float.md), [Double](../4gl/double.md)0
Date[0/0/0]
Blbfilenull (0 byte) blob
Datetime0000-00-00T00:00:00Z
Uuident00000000-0000-0000-0000-000000000000 (nulluuid)
InstanceNull

Associated errors

Error codeDescription
6Variable does not exist.
7Class does not exist.

See also

Kill.