Exitting procedure

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by ebknoppert.

I want to exit my procedure prematurely.
Like 'exit function'

Can't find that one :)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Num3.


Use ProcedureReturn without any args to exit a procedure....

--
Kind Regards
Rui Carvalho

Old programmers never die... They branch into a subroutine...
Post Reply