Will,
Try this yourself.
>CT XP TST.WILL
TST.WILL
0001 DEBUG
0002 A = 1
0003 A = "1"
0004 STOP
>RUN XP TST.WOL
TST.WOL: 2: A = 1
:: S
TST.WOL: 3: A = "1"
:: A/
INTEGER: 1
:: S
TST.WOL: 4: STOP
:: A/
STRING: T r L=1 `1'
::
Universe 10.0.8
Cheers,
Stewart
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 31 March 2004 17:26
To: [EMAIL PROTECTED]
Subject: Re: Data typing in MV Basic
In a message dated 3/30/2004 11:33:53 PM Pacific Standard Time,
[EMAIL PROTECTED] writes:
> A = 1 is held as an integer
> A = "1" is held as a string
> A = "1" + 0 is held as an integer
>
> Cheers,
> Stewart
Sorry stewart I don't believe that's the case.
And btw to the posted that suggested NUM(A), NUM(A) would return TRUE for A
=
1 and also for A = "1"
since NUM forces a numeric string into a numeric datum anyway
So that's not a good way to test it
Will
--
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