Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Don't look now developers, but you've got a pat on your back!
#5
@doppler to gain access to any DATA line, use a counter to READ them up to that certain one and when it reaches the number that you want the DATA line to say, send that to the _MessageBox. Oh and yes you have to use RESTORE every time. Here is an example: 

Code: (Select All)

Do
    again:
    Input "Weekday Number: ", weekday
    If weekday > 7 Or weekday < 1 Then GoTo again:
    Restore days
    For t = 1 To weekday
        Read d$
    Next t
    _MessageBox " Weekday:", d$, ""
Loop
days:
Data Sunday
Data Monday
Data Tuesday
Data Wednesday
Data Thursday
Data Friday
Data Saturday
Reply


Messages In This Thread
RE: Don't look now developers, but you've got a pat on your back! - by SierraKen - 12-13-2024, 06:35 PM



Users browsing this thread: 1 Guest(s)