----- Original Message ----- 
> From: "Don Kibbey" <[EMAIL PROTECTED]>
> You did mention only a few files display this type of syntax.  Perhaps
> said programmer was shown the door....

I don't see why you would think that and frankly I'm surprised you haven't 
come across this style of programming before. This style of programming was 
taught in classrooms all over the country before the advent of point and 
click programming. It is a structured way of programming based on a logic 
sequence:
What is the first file I need?
OPEN FILE1 TO F.FILE1 THEN
END ELSE PRINT "CAN'T OPEN FILE1"
END

Do I need another one?
OPEN FILE1 TO F.FILE1 THEN
     OPEN FILE2 TO F.FILE2 THEN
     END ELSE PRINT "CAN'T OPEN FILE2"
END ELSE PRINT "CAN'T OPEN FILE1"
END

And another?
OPEN FILE1 TO F.FILE1 THEN
     OPEN FILE2 TO F.FILE2 THEN
         OPEN FILE3 TO F.FILE3 THEN
         END ELSE PRINT "CAN'T OPEN FILE3"
     END ELSE PRINT "CAN'T OPEN FILE2"
END ELSE PRINT "CAN'T OPEN FILE1"
END

Now that I've got these open what do I do with them>
OPEN FILE1 TO F.FILE1 THEN
     OPEN FILE2 TO F.FILE2 THEN
         OPEN FILE3 TO F.FILE3 THEN
             EOF=0
             LOOP READNEXT ID ELSE EOF=1 UNTIL EOF DO
             PROCESS, PROCESS, PROCESS
             REPEAT
         END ELSE PRINT "CAN'T OPEN FILE3"
     END ELSE PRINT "CAN'T OPEN FILE2"
END ELSE PRINT "CAN'T OPEN FILE1"
END

Although when the gosub came out most programmers took the center out and 
put it into a separate subroutine.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to