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