Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using DATA like arrays
#1
I'm making a font and I'm using DATA statements to make up the font, is there a way to do something like this:

Code:
dim _data(1 to 3)

_data(1):
data 1
_data(2):
data 2
_data(3):
data 4

for i = 1 to 3
    restore _data(i)
    read value
    print value
    sleep
next
sleep

So that way each piece of DATA can be indexed by a variable like an array?
Reply


Messages In This Thread
Using DATA like arrays - by axipher - 03-04-2006, 06:58 AM
Using DATA like arrays - by d.j.peters - 03-04-2006, 07:12 AM
Using DATA like arrays - by Dr_Davenstein - 03-04-2006, 11:37 PM
Using DATA like arrays - by wallace - 03-05-2006, 01:47 AM
Using DATA like arrays - by axipher - 03-05-2006, 09:56 PM
Using DATA like arrays - by wallace - 03-06-2006, 12:36 AM
Using DATA like arrays - by axipher - 03-06-2006, 12:42 AM
Using DATA like arrays - by Anonymous - 03-06-2006, 10:39 AM
Using DATA like arrays - by wallace - 03-06-2006, 08:20 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)