| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Squares |
> The loop usually does reference *s - strlen is about
> the only thing that doesn't reference *s. Since not
> referencing *s is so rare, I think it's a better idea
> to assume the loop will reference it when talking
> about generics like this.
That was exactly the loop in question, Darin, as the next message
showed. However if the loop references or dereferences the control
variable, all intances of it within the body of the loop are incremented.
That was never in dispute.
That's the problem with assumptions.
Best Wishes,
Bill.
---
* Origin: Escan BBS (2:25/200)SEEN-BY: 633/267 270 @PATH: 25/200 108 252/110 250/501 140/1 106/2000 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™.