TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: steven pasztor
from: Paul Edwards
date: 1996-04-17 01:51:30
subject: Pascal - C

sp>  What's the closest one can get in C++, to Borland Pascal's enum/sets?

enum.

sp>  And is it possible to do something like Pascal's nested procedures?

Ah, this one is not possible, at least with C.  However, you may
get what you really want, by using separate source files, and making
the functions in them "static", ie internal-visibility only.

BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

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™.