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.
BreakProcedure()
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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
> 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
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm