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,613 of 2,978    |
|    John Smith to John Smith    |
|    Re: Getting a real number from the keybo    |
|    26 May 05 21:30:05    |
      From: assemblywizard@gmail.com              Let me explain better:              A real number looks like this: 123.56       A real number fits into a variable like this: VAR num;       A real number can be used like this: x := num * 4;              That string cannot... VAL does like this...       VAL(string, real, integer);       and the representation of a number, as a string, in "string" goes into       "real" as a real number, the integer is just a flag and reports if the       operation was successful and the result of the operation...              So, after I get the string of digits read into a string with readkey--the       real work begins--making it a REAL number...       \       Warmest regards,       John       "John Smith" |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca