"Alan Beban" wrote...
...
OP indicated he wanted x to be of type Single(), and I honored that. You
didn't and it turns out the OP didn't really mean it. Had I known that,
I'd have ended up where you did; or might not even have responded at
all. I suspect now that even x=Array(1,2,3,4) is satisfactory for the OP.
Don't worry, Alan. When you get more experience answering newsgroup questions,
you may develop the ability to anticipate the OP's actual requirements without
needing to have them spelled out for you.
The OP's original use of Data and Read statements should have been a tip-off
that the OP may BASIC but not
VB[A], in which case it wouldn't be a leap in the
dark to figure that the OP might not have known that s/he could assign Array(.)
results to a variant. Most people with some experience with old fashioned BASIC
dialects could figure that out pretty quickly.
--
To top-post is human, to bottom-post and snip is sublime.