| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Pascal - C |
>> And is it possible to do something like Pascal's nested procedures?
ac> I presume you mean something like:
ac> procedure wrapper;
ac> procedure inside;
ac> begin
ac> writeln('Hello from the inside.');
ac> end;
ac> begin
ac> writeln('Hello world.');
ac> end;
ac> C doesn't support silly stuff like this. I'm not sure if it's
ac> standard Pascal either. (?)
sp> It's not silly. Quite useful actually... And your
sp> not wasting an extra segment to access the parent
From a language point of view I think it's a bit silly. I find nested
procedures are often difficult to read.
--- Maximus/2 3.00
* Origin: Decadence BBS (3:632/103)SEEN-BY: 50/99 78/0 620/243 623/630 632/103 348 360 998 633/371 634/388 396 SEEN-BY: 635/301 502 503 506 544 639/252 711/401 409 410 413 430 808 809 932 SEEN-BY: 711/934 712/515 713/888 714/906 800/1 7877/2809 @PATH: 632/348 635/503 50/99 711/808 809 934 |
|
| 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™.