Gunnar I've always had to define the variable first even in 6.5++. SET VAR vdatum DATE
IF vdatum IS NULL THEN SET V vdatum = (.#DATE - 2) ENDIF Buddy -----Original Message----- From: Gunnar Ekblad [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 4:28 AM To: RBG7-L Mailing List Subject: [RBG7-L] - Cheking for existans of a variable In the past, prior to 7.1 (DOS and Windows) I used to have this construction to check the existans of variable. IF vdatum IS NULL THEN SET V vdatum = (.#DATE - 2) ENDIF That way I could default my variable to the existing value, or if there was no value to whatever I decide to. How do I go about to the same thing in 7.1? Gunnar Ekblad
