BTW, Microdata supports all the current blocked IF/THEN/ELSE and READ/THEN/ELSE constructs. It originally didn't support READ/THEN but that was fixed in 3.0 circa 1980.
My old 1 cent. Mark Johnson ----- Original Message ----- From: "Larry Hiscock" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, September 30, 2005 3:06 PM Subject: RE: [U2] Good Programming Practice Question......... > Keith wrote: > > > Oh, and one other thing ... I despise constructs like: > > IF (expr) ELSE do.something > > which can *always* be written more clearly as: > > IF NOT(expr) THEN do.something > > Again, this goes back to the day when machine cycles were precious. > Supposedly it saved a couple of cpu instructions, and if it was in the > middle of a loop, those cycles could be significant. > > The MV flavour with which I am currently most familiar is Unidata (and > before that Prime/Information, which I haven't touched in 5 years, and > before that Microdata Reality, which I haven't touched in 20 years). Do the > other compilers support the following construct? > > IF (expr) > THEN do.something > ELSE do.something.else > > I find this tremendously easier to read than: > > IF (expr) THEN do.something ELSE do.something.else > > The only problem with using this construct is that it confuses the AE format > command ;-) > > Larry Hiscock > Western Computer Services > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
