Very Horrible Question About Goto's

Daley, MarkX markx.daley at intel.com
Wed Apr 19 16:32:09 CEST 2000


It depends on what the GOTOs are doing.  If they are providing a GOSUB-like
feature, you can do the same thing in Python by defining the task and then
invoking it in other functions.  If they are providing flow control, it may
be a little trickier.  I'm not an expert, but you should be able to work
around just about anything you've done in a previous language if you know
the right Python commands.
 
-Mark

-----Original Message-----
From: Richard Jones [mailto:richard.jones at ibahealthcare.com]
Sent: Wednesday, April 19, 2000 12:09 AM
To: 'python-list at python.org'
Subject: Very Horrible Question About Goto's


I'm trying to create a converter from our own internal language (horrid)
into python.  My only problem so far is that the original language uses
*LOTS* of goto's.  Is there any way that this can be replicated within
python ?
 
Thanks for any help.
 
Richard Jones
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20000419/eb9d3aaa/attachment.html>


More information about the Python-list mailing list