> I don't understand. What is this numeric variable. I got the reply '42'.
To understand that response, you'll have to read The Hitchhiker's Guide To
The Galaxy. Any attempt to explain it outside of that context would be
futile.
Tim Snyder
IBM Data Management Solutions
Consulting I/T Special
You can't get at the DATUMs in which data values are stored. However you can affect
them, or use them to you advantage. As one example, forcing a number that is
currently stored as a character string to be a number will yield a small performance
benefit when used to control a loop. For exampl
CTED]>
Sent: Friday, February 06, 2004 8:16 PM
Subject: Re: The result of VARIABLE[1,3] + 0
> No, the "loosly typed" nature of MvBASIC is that you don't see this and
can't control it. You can't specify that a variable is numeric and have the
system barf when you try to d
No, the "loosly typed" nature of MvBASIC is that you don't see this and can't control
it. You can't specify that a variable is numeric and have the system barf when you
try to do A[1,3] on it.
That's the curse and blessing of the environment.
I was only correcting where you said that every
Does this opcode stuff come into play on the outside where we write code.
Please provide an example.
Thanks.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 7:47 PM
Subject: Re: The result of VARIABLE[1,3] + 0
> The
I don't understand. What is this numeric variable. I got the reply '42'.
thanks.
- Original Message -
From: "gerry simpson" <[EMAIL PROTECTED]>
To: "U2 Users Discussion List" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 4:01 PM
Subj
There is a numeric type or "datum" as some people call it.
Since we are talking MV here and not specifically one vendor.
If you look at the opcode of an ADDS machine there is a code for LOADS (string) and
also a seperate one for LOADN (numeric). This implies that there are in fact two
seperate
42
- Original Message -
From: "Mark Johnson" <[EMAIL PROTECTED]>
To: "U2 Users Discussion List" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 3:29 PM
Subject: Re: The result of VARIABLE[1,3] + 0
> I'm all ears. What is this numeric variab
I'm all ears. What is this numeric variable.
Thanks.
- Original Message -
From: <[EMAIL PROTECTED]>
To: "U2 Users Discussion List" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 2:34 PM
Subject: Re: The result of VARIABLE[1,3] + 0
> In a message dat
In a message dated 2/2/2004 9:06:43 AM Eastern Standard Time, [EMAIL PROTECTED] writes:
> It's been affirmed here and other places that MV considers everything as a text
> variable (keep file handles and arrays out of this discussion) and its numerological
> properties come
> into play only whe
-Original Message-From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of
Mark Johnson ...
This brings up another aspect of the text/string
situation: Consider this
A="00"[1,3] ;*zeros for both
lines
B="00"[1,2]
PRINT (A=B)
and you would ex
l Message -
From:
Marco
Manyevere
To: [EMAIL PROTECTED]
Sent: Sunday, February 01, 2004 11:13
PM
Subject: The result of VARIABLE[1,3] +
0
Hi All,
What is the correct interpratation of
A = '001'
B = A[1,3] + 0
PRINT B
On
] On Behalf Of Marco
ManyevereSent: 02 February 2004 04:14To:
[EMAIL PROTECTED]Subject: The result of VARIABLE[1,3] +
0
Hi All,
What is the correct interpratation of
A = '001'
B = A[1,3] + 0
PRINT B
On UV 9.6 I get 0010 contrary to my expectation of 1. What is the logical
explanatio
From:
Marco
Manyevere
To: [EMAIL PROTECTED]
Sent: Monday, February 02, 2004 3:13
PM
Subject: The result of VARIABLE[1,3] +
0
Hi All,
What is the correct interpratation of
A = '001'
B = A[1,3] + 0
PRINT B
On UV 9.6 I get 0010 contrary to my e
, February 01, 2004 8:14 PMTo:
[EMAIL PROTECTED]Subject: The result of VARIABLE[1,3] +
0
Hi All,
What is the correct interpratation of
A = '001'
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 thi
eSent: Monday, 2 February 2004 2:44
PMTo: [EMAIL PROTECTED]Subject: The result of
VARIABLE[1,3] + 0
Hi All,
What is the correct interpratation of
A = '001'
B = A[1,3] + 0
PRINT B
On UV 9.6 I get 0010 contrary to my expectation of 1. What is the logical
ex
Hi All,
What is the correct interpratation of
A = '001'
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 runtim
17 matches
Mail list logo