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,635 of 2,978   
   John Smith to All   
   Re: Getting a real number from the keybo   
   27 May 05 15:51:56   
   
   From: assemblywizard@gmail.com   
      
   To apologize for your ignorance and childish ways would be ridiculous--you   
   are obviously a "know-it-all-teenager" and are simply ignoring your   
   lessons...   
   ... no offense taken--I was a teenage once myself--yanno...    
      
   Regards,   
   John   
   "Jim Leonard"  wrote in message   
   news:1117230578.166678.202000@g14g2000cwa.googlegroups.com...   
   > John Smith wrote:   
   >> Simply change this so one of the methods work, and the real is   
   >> returned...   
   >> by reading in the character ONE CHAR at a time...   
   >   
   > I'd be glad to -- as soon as you offer an apology.   
   >   
   > You get some hints for free, though, since it's clear you still don't   
   > know what you're doing:   
   >   
   >>    b:   array[1..80] of char;  { as a Pascal String }   
   >   
   > That's not a pascal string, and won't work with val().   
   >   
   >>    s:   string[80];            { as a string }   
   >   
   > THAT is a pascal string.  A pascal string is an array of characters   
   > that ranges from 1 to 255 characters in length.  The *first* character,   
   > index [0], isn't a character, but rather the length of the string.   
   >   
   >>    ctr := 0;  { null terminated string index }   
   >   
   > Null-terminated strings END with a null, not start with one.   
   >   
      
   --- 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