Posted: Mon Jan 07, 2002 10:22 pm
Restored from previous forum. Originally posted by blue-speed.
hi!
why i can put the procedure only before ive activate it like this:
this code doesent work
the code would look cleaner when u can put it like the second one, so i dont have tu use the dirty labels
cu
bluespeed
WOOOOOOW!
Edited by - blue-speed on 07 January 2002 22:23:45
hi!
why i can put the procedure only before ive activate it like this:
Code: Select all
Procedure.l Maximum(nb1.l, nb2.l)
If nb1>nb2
Result.l = nb1
Else
Result = nb2
Endif
ProcedureReturn Result
EndProcedure
Result.l = Maximum(15,30)
PrintNumberN(Result)
End
Code: Select all
Result.l = Maximum(15,30)
PrintNumberN(Result)
End
Procedure.l Maximum(nb1.l, nb2.l)
If nb1>nb2
Result.l = nb1
Else
Result = nb2
Endif
ProcedureReturn Result
EndProcedure
cu
bluespeed
WOOOOOOW!
Edited by - blue-speed on 07 January 2002 22:23:45