Page 1 of 1

Posted: Wed Jun 05, 2002 7:20 am
by BackupUser
Restored from previous forum. Originally posted by Danilo.

From the german forum wishlist.

NicTheQuick´s wish for PureBasic:
Allow SubFunctions (GOSUB) inside a procedure.

Code: Select all

Procedure mytest()
     OpenConsole
     For a = 1 To 10
         Gosub textout
     Next a
  ProcedureReturn


     textout:
        PrintN("Value = " + Str(a))
     Return


EndProcedure

German PureBasic Forum, http://www.Pure-Board.de


Edited by - Danilo on 11 June 2002 06:08:04