SCOUG-Programming Mailing List Archives
Return to [ 12 |
January |
2004 ]
<< Previous Message <<
>> Next Message >>
Content Type: text/plain
"Did you really mean to say the above? If so, give me an
example. The PL/I syntax is robust, but the code itself is still
simple code and can be generated without waving a magic
wand...."
Yep. Apparently you missed my point. As an example try:
dcl amphere fixed dec (9,4);
amphere = 2.33 + 6.714 - .004;
Use any handy C, C++, or JAVA compiler.
or:
dcl handy area (9000);
allocate handy.
or:
dcl simple file record update indexed;
dcl area1 char(720);
dcl hump char(6);
read file(simple) into(area1) key (hump);
The argument doesn't lie in the areas in which they overlap,
but in the vast areas in which they do not. I didn't even
bother to use aggregate operands or logical operators in
normal expressions. In fact I didn't offer an example
manipulating bit strings, or converting characters to bits,
performing logical operations, and converting the result back
to character. The list simply goes on and on and on.
You see IBM replaced the F-level compiler with the optimizing
compiler. The OS/2 compiler is a version of the optimizing
compiler. You have have only two optimization options: no
optimization or time optimization. IBM discovered that time
optimization optimized space as well.
Actually the inline is a compiler option for PL/I builtin
functions, which PL/I has instead of requiring a separate
library. The compiler recognizes the builtin functions as if it
had the source for them. I simply extend this to work with
any reusable code segments invoked by name on an
instance-by-instance basis instead of a global option.
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
>> Next Message >>
Return to [ 12 |
January |
2004 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|