Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wrong explanation in Play?
#3
This is the "example 1", right? You added the line with `PLAY` "p" command, but what is `i` being assigned to?



Code: (Select All)

Dim As Integer i, j
Play "q0mll64"
For j = 0 To 6
For x = 1 To 50
a$ = a$ + "v" + LTrim$(Str$(x)) + "n" + LTrim$(Str$(x))
Next
i = 2 ^ j
a$ = a$ + "p" + _Trim$(Str$(i))
For x = 50 To 1 Step -1
a$ = a$ + "v" + LTrim$(Str$(x)) + "n" + LTrim$(Str$(x))
Next
Print a$
Play a$
a$ = ""
Next
Play "v10l1c,l4egl2o5c,o4l4eg"

LOL I like the end music, like the Atari2600 version of Pac-Man! Big Grin
Reply


Messages In This Thread
Wrong explanation in Play? - by PhilOfPerth - 10-23-2023, 11:33 AM
RE: Wrong explanation in Play? - by bplus - 10-23-2023, 02:59 PM
RE: Wrong explanation in Play? - by PhilOfPerth - 10-23-2023, 11:18 PM
RE: Wrong explanation in Play? - by bplus - 10-24-2023, 02:19 AM
RE: Wrong explanation in Play? - by mnrvovrfc - 10-23-2023, 03:29 PM
RE: Wrong explanation in Play? - by bplus - 10-23-2023, 04:38 PM
RE: Wrong explanation in Play? - by SMcNeill - 10-24-2023, 02:07 PM
RE: Wrong explanation in Play? - by SMcNeill - 10-24-2023, 02:12 PM
RE: Wrong explanation in Play? - by bplus - 10-24-2023, 02:33 PM



Users browsing this thread: 2 Guest(s)