Title: Message
Hi Marco,
 
Universe doesn't use the + for concatenation, it uses the : (colon) symbol eg. '123':'456' will result in '123456'.
 
Both these examples come up with the expected results (1 and 579) on version 10.0.2 (UV personal edition, Linux) and also on 10.0.8 on Tru64.
 
Regards
 
David Logan
Database Administrator
HP Managed Services
139 Frome Street,
Adelaide 5000
Australia

+61 8 8408 4273
+61 417 268 665

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marco Manyevere
Sent: Monday, 2 February 2004 2:44 PM
To: [EMAIL PROTECTED]
Subject: The result of VARIABLE[1,3] + 0

Hi All,
 
What is the correct interpratation of
 
A = '0010000'
B = A[1,3] + 0
PRINT B
 
On UV 9.6 I get 0010 contrary to my expectation of 1. What is the logical explanation of this. Does UV use '+' for string concatenation as well? Then why doesnt '123' + '456' result in '123456' (I get a runtime error)?
 
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

Reply via email to