| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | A question of form... |
Quoting Peter Lavender to All PL>I'm not sure how to ask this, since I'm still really only learning.. PL>I'm doing a course part time and we are doing pascal TP 7 to be PL>exact. My question is mainly to do with getting Y or N inputs. PL>The way I see it, instead of writing a while do that checks for either PL>y or n to continue and waits till the user inputs either, couldn't PL>this be done more effectively using a procedure? If you're going to need to ask for a yes/no response in more than one place in your program, then a procedure would definitely be better. If there's only one instance where a y/n question is asked, there'd be no point. Adam Fitzpatrick ... Rotisserie: a ferris wheel for dead chickens. --- FMail/386 1.02* Origin: Power BBS - +61-2-858-4114 - Files/Games/Mail (3:711/953) SEEN-BY: 633/267 270 @PATH: 711/953 410 808 50/99 635/544 727 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™.