Exiting Functions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robbie Beane

    Exiting Functions

    Is there any way to stop execution of a function without killing the whole
    script? Is there a command that will jump out of a function back to the
    main script, or calling function?


  • Tom Thackrey

    #2
    Re: Exiting Functions


    On 16-Jul-2003, "Robbie Beane" <beane@poser.us > wrote:
    [color=blue]
    > Is there any way to stop execution of a function without killing the whole
    > script? Is there a command that will jump out of a function back to the
    > main script, or calling function?[/color]

    Please learn to cross-post.



    --
    Tom Thackrey

    Comment

    • Robbie Beane

      #3
      Re: Exiting Functions

      *sigh* I feel pretty dumb for not thinking to try that.

      Anyway, what do you mean "learn to cross-post"?

      "Tom Thackrey" <tomnr@creati ve-light.com> wrote in message
      news:qomRa.112$ _S3.9918628@new ssvr14.news.pro digy.com...[color=blue]
      >
      > On 16-Jul-2003, "Robbie Beane" <beane@poser.us > wrote:
      >[color=green]
      > > Is there any way to stop execution of a function without killing the[/color][/color]
      whole[color=blue][color=green]
      > > script? Is there a command that will jump out of a function back to the
      > > main script, or calling function?[/color]
      >
      > Please learn to cross-post.
      >
      > http://www.php.net/manual/en/function.return.php
      >
      > --
      > Tom Thackrey
      > www.creative-light.com[/color]


      Comment

      • Joshua Ghiloni

        #4
        Re: Exiting Functions

        Robbie Beane wrote:[color=blue]
        > *sigh* I feel pretty dumb for not thinking to try that.
        >
        > Anyway, what do you mean "learn to cross-post"?
        >
        > "Tom Thackrey" <tomnr@creati ve-light.com> wrote in message
        > news:qomRa.112$ _S3.9918628@new ssvr14.news.pro digy.com...
        >[color=green]
        >>On 16-Jul-2003, "Robbie Beane" <beane@poser.us > wrote:
        >>
        >>[color=darkred]
        >>>Is there any way to stop execution of a function without killing the[/color][/color]
        >
        > whole
        >[color=green][color=darkred]
        >>>script? Is there a command that will jump out of a function back to the
        >>>main script, or calling function?[/color]
        >>
        >>Please learn to cross-post.
        >>
        >>http://www.php.net/manual/en/function.return.php
        >>
        >>--
        >>Tom Thackrey
        >>www.creative-light.com[/color]
        >
        >
        >[/color]
        Cross-post: put multiple newsgroups in the To: line rather than sending
        the same message multiple times to different groups (Multi-posting)

        Comment

        • Robbie Beane

          #5
          Re: Exiting Functions

          Okay. What is the difference in effect?
          [color=blue]
          > Cross-post: put multiple newsgroups in the To: line rather than sending
          > the same message multiple times to different groups (Multi-posting)
          >[/color]


          Comment

          • Allodoxaphobia

            #6
            Re: Exiting Functions

            On Wed, 16 Jul 2003 21:34:52 -0400, Joshua Ghiloni hath writ:[color=blue]
            > Robbie Beane wrote:[color=green]
            >> *sigh* I feel pretty dumb for not thinking to try that.
            >>
            >> Anyway, what do you mean "learn to cross-post"?
            >>
            >> "Tom Thackrey" <tomnr@creati ve-light.com> wrote in message
            >> news:qomRa.112$ _S3.9918628@new ssvr14.news.pro digy.com...
            >>[color=darkred]
            >>>On 16-Jul-2003, "Robbie Beane" <beane@poser.us > wrote:
            >>>
            >>>>Is there any way to stop execution of a function without killing whole
            >>>>script? Is there a command that will jump out of a function back to the
            >>>>main script, or calling function?
            >>>
            >>>Please learn to cross-post.
            >>>
            >>>http://www.php.net/manual/en/function.return.php
            >>>
            >>>--
            >>>Tom Thackrey[/color]
            >>[/color]
            > Cross-post: put multiple newsgroups in the To: line rather than sending
            > the same message multiple times to different groups (Multi-posting)[/color]

            Asw well, please learn not to Top-post.

            Jonesy
            --
            | Marvin L Jones | jonz | W3DHJ | OS/2
            | Gunnison, Colorado | @ | Jonesy | linux __
            | 7,703' -- 2,345m | config.com | DM68mn SK

            Comment

            • Joshua Ghiloni

              #7
              Re: Exiting Functions

              Robbie Beane wrote:[color=blue]
              > Okay. What is the difference in effect?
              >
              >[color=green]
              >>Cross-post: put multiple newsgroups in the To: line rather than sending
              >>the same message multiple times to different groups (Multi-posting)
              >>[/color]
              >
              >
              >[/color]

              The difference is simple. I'm assuming you posted to alt.?.php and
              comp.lang.php. None of these responses are showing up in the other
              newsgroup. If you had cross-posted, the responses would have showed up
              in all newsgroups, thus helping the denizens of all the newsgroups.

              Comment

              • Robbie Beane

                #8
                Re: Exiting Functions

                Thanks. That sounds very reasonable.


                "Joshua Ghiloni" <jdg11@SPAM.ME. AND.DIE.cwru.ed u> wrote in message
                news:bf5057$154 $1@eeyore.INS.c wru.edu...[color=blue]
                > Robbie Beane wrote:[color=green]
                > > Okay. What is the difference in effect?
                > >
                > >[color=darkred]
                > >>Cross-post: put multiple newsgroups in the To: line rather than sending
                > >>the same message multiple times to different groups (Multi-posting)
                > >>[/color]
                > >
                > >
                > >[/color]
                >
                > The difference is simple. I'm assuming you posted to alt.?.php and
                > comp.lang.php. None of these responses are showing up in the other
                > newsgroup. If you had cross-posted, the responses would have showed up
                > in all newsgroups, thus helping the denizens of all the newsgroups.
                >[/color]


                Comment

                • Robbie Beane

                  #9
                  Re: Exiting Functions

                  Jeez. I didn't realize how much of a newsgroup scrub I was.
                  Okay, so what is top-posting...?
                  [color=blue]
                  >
                  > Asw well, please learn not to Top-post.
                  >
                  > Jonesy
                  > --
                  > | Marvin L Jones | jonz | W3DHJ | OS/2
                  > | Gunnison, Colorado | @ | Jonesy | linux __
                  > | 7,703' -- 2,345m | config.com | DM68mn SK[/color]


                  Comment

                  • Agelmar

                    #10
                    Re: Exiting Functions

                    Robbie Beane wrote:[color=blue]
                    > Jeez. I didn't realize how much of a newsgroup scrub I was.
                    > Okay, so what is top-posting...?
                    >[color=green]
                    >>
                    >> Asw well, please learn not to Top-post.
                    >>
                    >> Jonesy[/color][/color]

                    Top posting is what you just did - posting at the top of the message. Most
                    peopleT consider it proper to post your reply at the bottom, so that people
                    can read what you are replying to first.


                    Comment

                    • Martin Rand

                      #11
                      Re: Exiting Functions

                      On Wed, 16 Jul 2003 22:02:58 -0400, Joshua Ghiloni
                      <jdg11@SPAM.ME. AND.DIE.cwru.ed u> wrote:
                      [color=blue]
                      >Robbie Beane wrote:[color=green]
                      >> Okay. What is the difference in effect?
                      >>
                      >>[color=darkred]
                      >>>Cross-post: put multiple newsgroups in the To: line rather than sending
                      >>>the same message multiple times to different groups (Multi-posting)
                      >>>[/color]
                      >>
                      >>
                      >>[/color]
                      >
                      >The difference is simple. I'm assuming you posted to alt.?.php and
                      >comp.lang.ph p. None of these responses are showing up in the other
                      >newsgroup. If you had cross-posted, the responses would have showed up
                      >in all newsgroups, thus helping the denizens of all the newsgroups.[/color]

                      Also, standard filters for news readers can save us having to read the
                      cross-postings in more than one target group. Not so easy with
                      multiple postings.

                      Comment

                      • Allodoxaphobia

                        #12
                        Re: Exiting Functions

                        On 17 Jul 2003 00:16:37 -0700, Tony Marston hath writ:[color=blue]
                        > Top posting is where you put your reply above the original post, as I
                        > am doing here. Bottom posting is where you put your reply below the
                        > original post. Some people don't like top posting, but I don't care.[/color]

                        And, Considerate-Posting is working your way thought the article,
                        adding your comments in context.
                        .....whilst also trimming unnecessary material.
                        [color=blue]
                        > "Robbie Beane" <beane@poser.us > wrote[color=green]
                        >> Jeez. I didn't realize how much of a newsgroup scrub I was.
                        >> Okay, so what is top-posting...?
                        >>[color=darkred]
                        >> > As well, please learn not to Top-post.[/color][/color][/color]

                        Then, there's at least 2 styles of (prominent) Clueless-Posting:

                        1. Where some bonehead does a (R)eply in a running thread to
                        start a brand new topic.

                        2. Where some bonehead creates a new posting with the
                        "Subject: Thanks" and the body something like:
                        "That did it. It's better now."

                        And, there's the ever `popular` Lazy Postings that could be
                        answered with as much, or even less, time and effort spent with
                        Google:



                        And, then, there is Off Topic [OT] Posting, which this
                        thread has drifted on to....

                        Jonesy
                        --
                        | Marvin L Jones | jonz | W3DHJ | OS/2
                        | Gunnison, Colorado | @ | Jonesy | linux __
                        | 7,703' -- 2,345m | config.com | DM68mn SK

                        Comment

                        Working...