Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / data statements

Author
Message
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 29th Mar 2003 05:20
for some reason i cant pass variables as data to a data statement

here is my code



it returns the error "error in data list at line x"
PiratSS
21
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 29th Mar 2003 06:25 Edited at: 29th Mar 2003 06:26
Try this:



Cheers.

There are two types of people in the world: The ones who summon and the ones that create. There is a big difference...
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 29th Mar 2003 06:45
actually i was trying to store the value of those array blocks in the data statement but its ok i worked around it by using global arrays

thanks though
Zhol
21
Years of Service
User Offline
Joined: 30th Mar 2003
Location:
Posted: 30th Mar 2003 10:28 Edited at: 30th Mar 2003 14:13
I'm doing this one to test my post and two because I have a question.

Material: 1 image 20x20 pixels
code: read data
what I need? I would like to create a data block and paste the image in the section I have set values for, so it can tile a large section of the screen. This is what I sort know in theory...

'code in generally speaking
For
read ' I guessing this is where the read would go to do this
next

'data block
data 0,1,1,1,0
data 0,1,1,1,0
data 0,0,1,0,0
etc...

If I'm on the right track, could some one help explain how I could get the image to paste in the set place of the data block where the 1's are set.
Thank you to whom ever took the time to read this and
decided to help me with this read data setup.

When the dark angel come's a knocking, don't be shy, let'm in.
ToXic
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Australia
Posted: 30th Mar 2003 18:30
Hope this helps.



ToXic

Login to post a reply

Server time is: 2024-09-20 03:27:03
Your offset time is: 2024-09-20 03:27:03