| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Nested loop |
Darin McBride wrote in a message to Elijah Richard:
DM> What is 65? ('A' ... in ASCII systems, but not all of us use
DM> ASCII... )
Right.
DM> for (letter = 'A'; letter < 'A' + count; ++letter)
But this is not much better. You can't assume letters are contiguous (e.g.
they're not in EBCDIC, IIRC).
greetings,
Tom
tomtorfs@village.uunet.be
--- timEd/2 1.10+
---------------
* Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516) |
|
| SOURCE: echomail via exec-pc | |
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™.