JonnyBritish Posted March 9, 2011 Share Posted March 9, 2011 http://video.google.com/videoplay?docid=6892946109663992370&q=ti99/4a&hl=en# Quote Link to comment Share on other sites More sharing options...
matthew180 Posted March 9, 2011 Share Posted March 9, 2011 Heh, at 00:40 in the video: "IF" statements may be nested as in: IF A < B THEN IF E=GG(12) THEN PRINT A ELSE PRINT B ELSE IF E>GG(12) THEN PRINT E ELSE PRINT GG(12) ------------------------- Of course, in Extended BASIC all of that must go in one statement. It looks like this: IF A < B THEN IF E=GG(12) THEN PRINT A ELSE PRINT B ELSE IF E>GG(12) THEN PRINT E ELSE PRINT GG(12) It is amazing how something as simple as indentation and spacing can turn unreadable code into something readable! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.