Search the web
Sign In
New User? Sign Up
blassic · Blassic, the Classic Basic.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Reading "two=dimensional" data arrays   Message List  
Reply | Forward Message #168 of 233 |
Re: Reading "two=dimensional" data arrays

Hello.

> then when I called it with
>
> FOR I=1 TO 24
> FOR J=1 TO 4
> READ EX(I,J)
> NEXT J
> NEXT I
>
> I got Syntax horror in the line READ EX(I,J). I do NOT have this

Maybe the error is in the DATA statement. In that case, the line
number reported is the one that contains the READ instruction.

If not, please post a short a program that shows the problem and the
version of Blassic you are using.

Regards.





Mon Mar 31, 2008 3:24 pm

not_found_bl...
Offline Offline
Send Email Send Email

Forward
Message #168 of 233 |
Expand Messages Author Sort by Date

In a program I'm writing, I used DIM EX(24,4), which worked fine. But then when I called it with FOR I=1 TO 24 FOR J=1 TO 4 READ EX(I,J) NEXT J NEXT I I got...
Hertz
atticshek
Offline Send Email
Mar 31, 2008
2:27 pm

Hello. ... Maybe the error is in the DATA statement. In that case, the line number reported is the one that contains the READ instruction. If not, please post...
not_found_blassic
not_found_bl...
Offline Send Email
Mar 31, 2008
3:30 pm

Here are two pieces of code. The first produces no error; the second produces an error. What in the world is the relevant difference between the two pieces of...
Hertz
atticshek
Offline Send Email
Apr 1, 2008
6:35 pm

6240 DATA 0,15,0,0, 0,16,0,0¿? 5,17,12,0, 0,18,0,11 ... 6240 DATA 0,15,0,0, 0,16, 0,0 ¿? 5,17 ,12,0, 0,18,0,11 2008/4/1, Hertz < atticshek@... >: Here...
Alberto Aleix
asterix_pagano
Offline Send Email
Apr 2, 2008
8:29 am

I cannot believe it was something that dumb. It works now. Thank you!...
Hertz
atticshek
Offline Send Email
Apr 3, 2008
2:28 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help