"valid variable name no longer than seven characters" I think so too and I've seen systems fail for exactly that reason, but I've just written a trivial program (see below) to test it and found that Unidata seems to be able to differentiate between labels with up to 8 identical characters (perhaps more). I'd still say never have two labels with the same first 7 characters but it may not be consistent
Second point is that I don't think labelled common variables are ever "unassigned". I think they're always initialised to zero. Piers 001: COMMON / MYSTUFF11 / VAR1,VAR2,VAR3 002: COMMON / MYSTUFF12 / STR1,STR2,STR3 003: * 004: IF UNASSIGNED(VAR1) THEN PRINT 'Unassigned' 005: * 006: PRINT VAR1:'-':VAR2:'-':VAR3 007: * 008: VAR1 = 'One' 009: VAR2 = 'Two' 010: VAR3 = 'Three' 011: * 012: PRINT VAR1 013: PRINT STR1 014: * 015: END 0-0-0 One 0 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bjvrn Eklund Sent: 18 October 2005 06:42 To: '[email protected]' Subject: SV: [U2] Strange $INCLUDE problem >From the Unidata basic manual: /common.name/ Specifies a name for a named common variable. common.name can have any valid variable name no longer than seven characters. Default (no common name provided) stores the variable in unnamed common. Bob, your two common areas will be treated as one I think. Bjvrn Eklund ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
