Marco, As some previous replies were saying, the behaviour you describe is normal and documented. The explanation for this is found in the "REPLACE" Basic function, which is the equivalent for the angle brackets notation at the left of an assignment operator ("=") for dynamic arrays handling. For more information, please refer to the Basic documentation manual (File "BASIC.pdf" in the CDROM library)
Here is an excerpt of the documentation : ---- REPLACE function Syntax REPLACE (expression, field#, value#, subvalue# { , | ; } replacement) REPLACE (expression [ ,field# [ ,value#] ] ; replacement) variable < field# [ ,value# [ ,subvalue#] ] > .../... In IDEAL, PICK, PIOPEN, and REALITY flavor accounts, if replacement is an empty string and an attempt is made to append the new element to the end of the dynamic array, field, or value, the dynamic array, field, or value is left unchanged; additional delimiters are not appended. Use the EXTRA.DELIM option of the $OPTIONS statement to make the REPLACE function append a delimiter to the dynamic array, field, or value. .../... ---- The fact is that "UniVerse" is mainly designed to reproduce the behaviour of legacy products in the "Pick" family. In this case, the implementation of the "INFORMATION" and "IDEAL" flavour followed the default behaviour in "Pick" native products. I hope this answered your question. Regards, Hervé BALESTRIERI Support Technique Avancé - IBM Data Management - Produits "U2" ----- Forwarded by Herve Balestrieri/France/IBM on 03/02/2004 09:35 ----- Marco Manyevere <[EMAIL PROTECTED] To: [EMAIL PROTECTED] .com> cc: Sent by: Subject: VARIABLE<-1> = '' Inconsistent behaviour u2-users-bounces@ oliver.com 03/02/2004 05:55 Please respond to U2 Users Discussion List Hi All, Consider the program: A = '' A<-1> = '' A<-1> = '' A<-1> = 3 A<-1> = '' A<-1> = 4 PRINT A<3> I expect it output '3' but it outputs '4'. Whats the explanation? I'm on UV 9.6 [NT] running information flavour. Regards, Marco BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 _______________________________________________ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users _______________________________________________ u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users