home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,273 of 2,978   
   Jud McCranie to RadSurfer   
   Re: Const and Exit Problems   
   03 Feb 05 21:55:08   
   
   From: youknowwhat.mccranie@adelphia.net   
      
   On 3 Feb 2005 17:54:01 -0800, "RadSurfer"  wrote:   
      
   >Problem 1: (TP 5.5 Issues)   
   >   
   >Const   
   >  Manifest: Integer = 12345;          { works! }   
   >  Man2: Integer = (Manifest + $09);   { FAILS !  Ughh! }   
      
   I may be wrong (untested) but I think if you leave off "integer" on   
   man2 it will work.   
      
   >Problem 2:   
   >  I see NOTHING in the reserved words list, or in any exampels   
   >encountered thus   
   >far how to EXIT_on_demand from repeat/until, while/do, and for/do   
   >loops!!!   
      
   Break will do it - I think that existed in TP 5.5, but I can't   
   remember for sure.  Also you can GOTO to outside the loop (if you   
   don't want to use the normal exits).   
      
   >What would TP 5.5's equivalent to 'continue' and 'break' be?   
      
   The same - IF they are in version 5.5 (I can't remember that far   
   back).  They are in later versions, but I can't remember about 5.5   
   (perhaps they're not).   
      
   >Is there an equivalent to Basics  End, Stop   stetements ?   
   > and C's  exit()  or abort() functions?   
      
   Halt, I think.   
      
      
   ---   
   Replace you know what by j to email   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca