goto statement

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • praba kar

    goto statement

    Dear All,

    In Python what is equivalent to goto statement

    regards,
    praba

    _______________ _______________ _______________ _____
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    Yahoo Mail: Your smarter, faster, free email solution. Organize your inbox, protect your privacy, and tackle tasks efficiently with AI-powered features and robust security tools.

  • Michael Hoffman

    #2
    Re: goto statement

    praba kar wrote:
    [color=blue]
    > In Python what is equivalent to goto statement[/color]


    --
    Michael Hoffman

    Comment

    • Peter Hansen

      #3
      Re: goto statement

      praba kar wrote:[color=blue]
      > In Python what is equivalent to goto statement[/color]

      The group has been remiss, starting mainly with Mage's
      unfortunately dogmatic response.

      What we meant to ask was this: why do you want it?

      There are better, simpler, cleaner, more readable
      ways to accomplish what you are trying to do, if you'll
      only tell us what that is so we can show you.

      -Peter

      Comment

      • Matt Feinstein

        #4
        Re: goto statement

        On Wed, 20 Apr 2005 10:23:58 +0100 (BST), praba kar
        <prabapython@ya hoo.co.in> wrote:
        [color=blue]
        >Dear All,
        >
        > In Python what is equivalent to goto statement[/color]

        I'd like to that implemented in an interpreted language. Requires some
        time travel.

        Matt Feinstein

        --
        There is no virtue in believing something that can be proved to be true.

        Comment

        • Robert Kern

          #5
          Re: goto statement

          Matt Feinstein wrote:[color=blue]
          > On Wed, 20 Apr 2005 10:23:58 +0100 (BST), praba kar
          > <prabapython@ya hoo.co.in> wrote:
          >
          >[color=green]
          >>Dear All,
          >>
          >> In Python what is equivalent to goto statement[/color]
          >
          >
          > I'd like to that implemented in an interpreted language. Requires some
          > time travel.[/color]

          Yes, to 2004-04-01.

          --
          Robert Kern
          rkern@ucsd.edu

          "In the fields of hell where the grass grows high
          Are the graves of dreams allowed to die."
          -- Richard Harter

          Comment

          • John Roth

            #6
            Re: goto statement

            "praba kar" <prabapython@ya hoo.co.in> wrote in message
            news:mailman.21 58.1113989043.1 799.python-list@python.org ...[color=blue]
            > Dear All,
            >
            > In Python what is equivalent to goto statement[/color]

            Sheesh! It took 20 days for this to get to my mail server!

            John Roth
            [color=blue]
            >
            > regards,
            > praba[/color]

            Comment

            Working...