Long Variable Name as Array Element#
Kenneth Brody
kenbrody at bestweb.net
Tue Aug 17 11:42:42 PDT 2004
Scott Walker wrote:
[...]
> I already tried that and it did not make a difference, nor should it
> because, as shown above, the short variable was ty(1,*) and that works
> fine...why would the Long Variable have to be (1,.0) for it to work.
> That does not make sense....afterall declare Cust_Type(1,*) and ty(1,*)
> are just two different names for the same animal, right? And I'm sure
> the value of Cust_Type is between "1" and "6"...if it was not, then the
> code using ty as the variable name would fail also, and it runs fine.
"I'm sure the value is..." isn't helpful.
What does the MESGBOX that I suggested you try say _is_ the value?
> Anyhow, Ken says it should work, and several others say the code snippet
> above does work fine, so it must be something else in my prc table
> causing the problem. I play with it some more later today.
[...]
--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
More information about the Filepro-list
mailing list