× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Is this the Free-Format that we asked for?
  • From: rob@xxxxxxxxx
  • Date: Thu, 2 Nov 2000 10:47:46 -0500


I've seen shops replace the GOTO's with the equally nasty CAB

'A'  CABEQ 'A'    TAGSTM

But, hey, no explicit GOTO's!

I guess what they are saying is that you can still use GOTO, but you have
to break out of free format to do so.

Rob Berendt

==================
Remember the Cole!


                                                                                
                                               
                    "Richard Jackson"                                           
                                               
                    <richardjackson@richardja        To:     
<RPG400-L@midrange.com>                                           
                    ckson.net>                       cc:                        
                                               
                    Sent by:                         Subject:     RE: Is this 
the Free-Format that we asked for?               
                    owner-rpg400-l@midrange.c                                   
                                               
                    om                                                          
                                               
                                                                                
                                               
                                                                                
                                               
                    11/02/00 07:57 AM                                           
                                               
                    Please respond to                                           
                                               
                    RPG400-L                                                    
                                               
                                                                                
                                               
                                                                                
                                               




GOTOs cannot be universally removed unless you substitute a new variable -
this is not my opinion, it is provable fact.  I don't really care about the
new variable per se but it means that old code containing GOTOs cannot be
automatically migrated to the new format - someone has to manually go in
and
either make the change or, at least, review the work of a tool.  GOTOs can
be pernicious but if you remove them from the language, you have to do more
work to use the new language spec.  I personally think that they should be
left in.  There are things that GOTO does better than anything else.  If
someone else is afflicted with bad GOTO programming, it is not so much the
fault of the statement as the fault of the design or "the eye of the
beholder".

Richard Jackson
Richard Jackson and Associates Ltd.
IBM Business Partner
mailto:richardjackson@richardjackson.net
http://www.richardjacksonltd.com
Telephone: 1 (303) 808-8058


-|-----Original Message-----
-|From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On
-|Behalf Of Eric N. Wilson
-|Sent: Thursday, November 02, 2000 1:45 AM
-|To: RPG400-L
-|Subject: Re: Is this the Free-Format that we asked for?
-|
-|
-|Hello John,
-|
-|You wrote:
-|
-|> I'd like you to take notice of the semi-colon at the end of
-|each statement.
-|> According to the new rules, each program statement MUST terminate with
a
-|> semi-colon - ala C/Java.
-|
-|I personally have no problem with explicit statement terminators.
-|The reason they are incorporated into a language is that it makes it
-|much easier to write the compiler.
-|
-|As far as goto's are concerned I am GLAD GLAD GLAD that they are gone
-|:-) If one takes advantage of functions and modular programming then
-|the need for goto statements decreases dramatically.
-|
-|
-|
-|----------------------------------
-|Eric N. Wilson
-|President
-|Doulos Software and Computer Services
-|
-|
-|+---
-|| This is the RPG/400 Mailing List!
-|| To submit a new message, send your mail to RPG400-L@midrange.com.
-|| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
-|| To unsubscribe from this list send email to
RPG400-L-UNSUB@midrange.com.
-|| Questions should be directed to the list owner/operator:
-|david@midrange.com
-|+---

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---



+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.