|
-
Aug 14th, 2007, 06:01 AM
#1
Thread Starter
Frenzied Member
Help me with functions
i have two functions f1 and f2. In f1 i am calling f2.
f2 checks for some condition and if its true then it exits. so what i want is if f2 exits then along with f2, f1 must also exit
-
Aug 14th, 2007, 06:04 AM
#2
Hyperactive Member
Re: Help me with functions
take a public variable and before exit from f2 set its value to true and in f1 check that variable if that is true exit f1 as well.
-
Aug 14th, 2007, 06:08 AM
#3
New Member
Re: Help me with functions
set f2 to return the Boolean value and f1 to work on that value
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|