TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Steven Pasztor
from: Frank Adam
date: 1996-04-10 14:43:04
subject: Pascal - C

G'Day Steven,
 
-=> Quoting Steven Pasztor to All <=-

 SP> Hello?  Anyone there?  Hello?
Still looking for that echo ? :-)

 SP> What's the closest one can get in C++, to Borland Pascal's enum/sets?
enum is alive and well in C/C++, not widely used though as far as i can 
tell.I for one never really encountered a need for it.

 SP> And is it possible to do something like Pascal's nested procedures?
You mean like..

while(car == going)
{
 while(wheels_touching_ground)
 {
  accelerate();
  while(driver_awake)
  {
   accelerate();
   while(!cop_insight)
   {
    speedlikehell();
    }
   while(cop_insight) decelerate();
   }
  while(driver_awake) getcoffe();
  }
 while(wheels_touching_ground) slowdown();
 }
gothome == OK ? exit(EXIT_SUCCESS) : exit(EXIT_DEAD);
         
or something like that ?:-)

  L8r Frank (fadam{at}ozemail.com.au).
  
___ Blue Wave/DOS v2.21

--- Maximus 3.01
* Origin: The Software Parlour (3:635/544)
SEEN-BY: 50/99 78/0 620/243 623/630 632/349 635/503 544 727 711/401 409 410
SEEN-BY: 711/413 430 808 809 932 934 712/515 713/888 714/906 800/1 7877/2809
@PATH: 635/544 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™.