| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Pl/I |
Hello Murray!
11 Jan 99 06:33, Murray Lesser wrote to Eddy Thilleman:
ML> *process langlvl(saa2), limits(extname(31)), libs, not('^');
ML> toupper: proc(infile) options (main noexecops);
ML> dcl infile char(100) var;
ML> dcl translate builtin;
ML> dcl (From value('abcdefghijklmnopqrstuvwxyz'),
ML> To value('ABCDEFGHIJKLMNOPQRSTUVWXYZ')) char(26);
ML> display (translate(infile,to,from));
ML> end toupper;
ML> I leave it as an exercise for the reader to write the equivalent in
ML> Pascal :-).
Borland Pascal:
upcase();
:-)
-= Francois =-
Francois(at)telematique(dot)org
http://www.telematique.org/ft
Try Win'95 and you'll never use DOS again... or the rest of your PC!
--- GoldED 2.51.A1026+
* Origin: Xara Sto Pragma ! Gasperich - Luxembourg -> (FidoNet 2:270/25.2)SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 635/444 506 728 639/252 SEEN-BY: 670/218 @PATH: 270/25 170/400 396/1 633/260 635/506 728 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.