Quote:
|
Originally Posted by PBoss
Also, I forgot, in PBasic, is this how you used to do sub routines?
IF condition THEN
gosub FIRST
ENDIF
FIRST:
'code
|
I don't know PBASIC specifically, but I'll try.
FIRST is a label. Wouldn't you use goto, not gosub?
I know that in Visual Basic (similar so far), you define a sub as:
Code:
Public Sub foo ()
'Some Code Here
'Call subroutine
foo2
End Sub
Is it any diferent in PBASIC?