CLEARALL;
CLEARALL
Die Funktion CLEARALL löscht alle globalen Variablen in einem Objekt.
Informationen
Die in einem Trigger bzw. einer Funktion angelegten lokalen Variablen, werden durch CLEARALL nicht gelöscht.
Beispiel
TextGlobal:='1001';
RecordGlobal.GET(TextGlobal);
TextLocal:='1110';
RecordLocal.GET(TextLocal);
CLEARALL;
MESSAGE('Global: %1 %2\Lokal: %3 %4',
TextGlobal,
RecordGlobal.Description,
TextLocal,
RecordLocal.Description);