Author Topic: Global labels  (Read 3329 times)

0 Members and 1 Guest are viewing this topic.

Brian Alvarez

  • Guest
Re: Global labels
« Reply #15 on: July 15, 2019, 09:46:41 AM »
Nice! I await with expectation. :)

 Thanks.

Brian Alvarez

  • Guest
Re: Global labels
« Reply #16 on: July 15, 2019, 10:00:39 PM »
Bad news... i managed to get oxygen to complain about perfectly valid code regarding goto/gosub... :(

Code: [Select]
   int ite0007
   gosub .FNini0007
   goto .FNind0007
    ..FNini0007
       int iti0007 = 1
       RET
    ..FNind0007
   for ite0007 = 0 TO 2 step 1
   ..FNst0007

   ..BBCmiddles
      print "Hello world"
           
      if iti0007 = 0 then
         gosub .FNini0007
      end if
      goto .FNst0007
   NEXT

Note: The code is useless, it only serves the purpose of showing a compilation time error with valid code.
« Last Edit: July 15, 2019, 10:19:44 PM by Brian Alvarez »