Page 1 of 1

Posted: Tue Sep 17, 2002 5:11 pm
by BackupUser
Restored from previous forum. Originally posted by Jose.

; Wishlist entry, the ability to type-in code in any order

Procedure ProcOne()
Debug "ProcOne Called"
EndProcedure

;Declare ProcTwo() ;<<< This line fixes the problem
; Would be nice not to have to do this, it also
; can cause problems when keeping parameters in sync
; between the declare and the Procedure definition

Procedure SomeOther()
; Call procTwo
ProcTwo() ;<<< This line will cause ERROR
;as ProcTwo() is defined lower down in code
EndProcedure

Procedure ProcTwo()
Debug "ProcTwo Called"
EndProcedure

; Main Code
Main()
End

Thanks



Registred PureBasic User, 2.60-)