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

Possibly Related Threads…
Thread Author Replies Views Last Post
  FreeGlut - What do you developers think? Pete 13 571 02-02-2026, 05:10 AM
Last Post: Pete
  Don't let INKEY$ byte you in the ASCII Pete 1 182 02-01-2026, 10:44 PM
Last Post: PhilOfPerth
  Don't fall for the mid$ trap doppler 10 1,512 10-19-2025, 08:21 PM
Last Post: Pete
  Be warned, I'm back! Unseen Machine 6 1,131 06-13-2025, 05:07 PM
Last Post: Unseen Machine
  Well after a month it's back to the drawing board. Pete 12 1,855 05-15-2025, 11:00 PM
Last Post: Kernelpanic

Forum Jump:


Users browsing this thread: 1 Guest(s)