You are or will turn foo this year.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Mike Schwab [[email protected]] Sent: Sunday, April 12, 2020 10:09 AM To: [email protected] Subject: Re: About the "hello world" program Phrase the response as "You will turn ### years old this year." On Sun, Apr 12, 2020 at 1:21 PM Seymour J Metz <[email protected]> wrote: > > Yes, but then the answer wouldn't be a year off. > > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > ________________________________________ > From: IBM Mainframe Discussion List [[email protected]] on behalf of > Mike Stramba [[email protected]] > Sent: Sunday, April 12, 2020 8:18 AM > To: [email protected] > Subject: Re: About the "hello world" program > > That would take it to another level of complexity > > (Parsing day, month, year), instead of just year > > It's already complex enough for some languages (i.e. assembler) for > converting the string input to numeric etc. > > And *just* getting *any* input is a "project" in "bare-metal" assembler. > > Mike > > On 4/12/20, Seymour J Metz <[email protected]> wrote: > > say 'What is your birthday?'; > > > > > > -- > > Shmuel (Seymour J.) Metz > > http://mason.gmu.edu/~smetz3 > > > > ________________________________________ > > From: IBM Mainframe Discussion List [[email protected]] on behalf of > > Mike Stramba [[email protected]] > > Sent: Sunday, April 12, 2020 12:23 AM > > To: [email protected] > > Subject: Re: About the "hello world" program > > > >> After "Hello World!" maybe the next step would be "99 Bottles of Beer"! > > > > After "Hello World" (output only ...obv), I like an "age" program : > > > > /* rexx */ > > > > say 'What is your name ?' > > pull name > > say 'What is your age ?' > > pull age > > yb = 2020 - age > > say 'You were born in the year ' yb > > > > Mike > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO IBM-MAIN > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO IBM-MAIN > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN -- Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
