You can always test,

IF TEMP = '' THEN TEMP = "NULL"

and likewise on the end that processes after the ARRAY is completed.

1~2~NULL~4~5~NULL~...

on the receiving end would be

IF ARRAY<WHATEVER> = "NULL" THEN ARRAY<WHATEVER> = ""

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bjorn Behr
Sent: Friday, March 09, 2007 00:48
To: [email protected]
Subject: [U2] Old Dog, New Tricks


The only problem with using <-1> is that it the value is null, it does not
append it. This could cause problems, esp. when doing this with dependant
rows.

Program Example:
001 ARRAY = ""
002 FOR J = 1 TO 10
003    IF (NOT(MOD(J,5))) THEN
004       TEMP = ""
005    END ELSE
006       TEMP = J
007    END
008    ARRAY<-1> = TEMP
009 NEXT J
010 CRT ARRAY

Result:
1~2~3~4~6~7~8~9~

Regards
Bjorn Behr
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to