David,
   that will do nicely.
Blessed be the dimensioned array

jak
----- Original Message ----- From: "David Jordan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 20, 2004 10:40 AM
Subject: RE: [U2] ARRAY OF ITYPES



Store it in a dimensioned array rather than a dynamic array and then you
know you won't run into conflicts

David Jordan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Kent
Sent: Monday, 20 September 2004 10:33 AM
To: [EMAIL PROTECTED]
Subject: [U2] ARRAY OF ITYPES


Does anyone know how i can construct an array of compiled itypes and retrieve them via a FIELD with no conflicts ?

     ITYPEITEMS = ''
     READ ITYPEREC FROM DICTFILE,VAL ELSE ...
    *
     ITYPEITEMS := ITYPEREC:DELIM
     *
        ITYPEREC = FIELD(ITYPEITEMS,DELIM,CNT,1)
        VAL = ITYPE(ITYPEREC)

For example, a delim of @IM works except for the case of a TRANS that
returns the whole record ie -1 A delim of CHAR(27) seems to work but i am
not sure if that would ever appear in the compiled code.

Any suggestions appreciated.
-------
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