May 31, 2020, 08:10:25 PM

Author Topic: superstrict hmmmmm ignore this now sorted out why :)  (Read 131 times)

Offline wadmixfm

  • Jr. Member
  • **
  • Posts: 38
superstrict hmmmmm ignore this now sorted out why :)
« on: May 06, 2020, 05:12:12 PM »
a few weeks a go i asked if the goto command could be used in Blitzmax NG and i got a few replies saying no it can't be used and you will have to work out using if ... then loops etc....

also the #label would not work .......

just a little confused but in the commands list on the right of blitzmax is Goto and when you click that to see the examples you get this

Rem
Causes program execution to jump to the #label specified.
End Rem

Print "one"
Goto here
Print "two"
#here
Print "three"

and when you compile it it works so why when i use them in my program which i wrote on vanilla blitzmax it says compile error

Compile Error

Labels must appear before a loop or DefData statement

Lee

"On Mac OS Mojave and Catalina 64bit "

Offline wadmixfm

  • Jr. Member
  • **
  • Posts: 38
Re: superstrict hmmmmm
« Reply #1 on: May 06, 2020, 05:21:31 PM »
ooooooops  :o  :o  :o :o :o :o :o :o

ignore me lol

i was using macosx blitzmax 1.51

user error

 

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal