are you looking for a number...... because there may be something else. check for num....... then remove the third place ie
if num[1,3] then print else error
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Marco Manyevere
Sent: Sunday, February 01, 2004 8:14 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