Shop OBEX P1 Docs P2 Docs Learn Events
exit from a called method???? — Parallax Forums

exit from a called method????

ardilloardillo Posts: 4
edited 2007-08-07 07:29 in Propeller 1
hi!!! i'm trying to figure out how can i exit from a called subroutine

ex.

pub main :·index | local_varible
· dira [noparse][[/noparse]0..3]~
· repeat
···· local_veriable := ina [noparse][[/noparse]0]
···· if local_variable == 1··········· ' vdd
······ slave_method

pub slave_method |local_variable_1
<what ever is here>
··· if local_variable_1 == 1
{{ i want to exit slave_method, return to main and wait for the condition in input [noparse][[/noparse]0] to be true}}

·

Comments

Sign In or Register to comment.