Page 1 of 1
Posted: Fri Sep 13, 2002 9:26 pm
by BackupUser
Restored from previous forum. Originally posted by pantera.
I'd appreciate a command that breaks and returns from a procedure whenever i want instead of at the end of it.
Posted: Fri Sep 13, 2002 9:42 pm
by BackupUser
Restored from previous forum. Originally posted by PB.
> I'd appreciate a command that breaks and returns from a procedure
> whenever i want instead of at the end of it.
The ProcedureReturn command will exit a procedure as soon as it's
used... you can always return a null parameter if you don't need one.
PB - Registered PureBasic Coder
Posted: Fri Sep 13, 2002 11:08 pm
by BackupUser
Restored from previous forum. Originally posted by pantera.
yepp, it sure does when you mention it

I must have been thinking of the vb syntax
(where you can change the returnvalue several times without exiting. Thought ProcedureReturn was like the function name)