| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Borland Builder |
> Is the following tidbit of code correct?
> =====
> if (stricmp(demo.size, "huge")) {
> for (loop = 0 ; loop < 1275 ; loop++) phone.cost++
> }
Looks fine. What is the structure for Demo and Phone, and what is loop
defined as (int/char)?
Oh, and you've missed a semi-colon right after phont.cost++
Have Fun - Kev
Kevin Campbell
Sysop of Deimos BBS
E-Mail: Sysop@Deimos.unmanned.co.uk
--- FMail/386 1.02
---------------
* Origin: Mail shipped from Deimos Spaceport (2:259/17) |
|
| 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™.