| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | That code segment |
This message was written at 12:21p on 07-01-1996.
Hi Keith,
I got the answer, why sometime you got balnk line.
I read through the code you give me, the problem coming from
the variable 'oc'.
While you read the file, when it reach to the end of the file
say line 10. then you will inc(oc) as normal. So oc := 11.
Then you generate a random number Random(oc)+1.
If the Random number is 11 then + 1. So it become 12. In your program
nothing define if the random line is 12. So it becom blank line.
Next time if you need more help, please send the code to me by
netmail. Because it is a private area.
eric
--- FMail/386 1.02
* Origin: Remote Linked BBS * 24 Hrs * +61-2-541-0870 * (3:712/330)SEEN-BY: 633/267 270 @PATH: 712/330 505 517 515 711/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™.