Results 1 to 3 of 3

Thread: Help me with functions

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,158

    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

  2. #2
    Hyperactive Member
    Join Date
    Mar 2006
    Posts
    266

    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.

  3. #3
    New Member
    Join Date
    Aug 2007
    Posts
    13

    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
  •  



Click Here to Expand Forum to Full Width