I came across some operators in the docs that are not specified in either Extended or Standard pascal (if they are, what section?). They are: *< /< *> /> +< -< +> -> What the heck do these do??? Also, am I right with the following: & Resolve a pointer reference @ Return a pointer to a variable, function, etc... TNX Ken Linder http://kc7rad.lvcm.com/
Hi, GPC on Ken Linder's Linux Box! ;-) You wrote:
I came across some operators in the docs that are not specified in either Extended or Standard pascal (if they are, what section?). They are:
*< /< *> /> +< -< +> ->
What the heck do these do???
Currently, they do just nothing. They are defined for overloading, so someone can implement their real meaning: These are PXSC operators for exact arithmetics. `+>' for instancd adds two real numbers and rounds up the exact result to the first real value the computer can represent. `+<' OTOH rounds down.
Also, am I right with the following:
& Resolve a pointer reference @ Return a pointer to a variable, function, etc...
Both return a pointer to a variable, function, etc. - the address of the operand. `@' is for Borland compatibility. Does someone know where the `&' comes from? If it's not for compatibility with another Pascal compiler (C is not another Pascal compiler;-), I'd rather drop it. Peter -- Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/ Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118 PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75 *** Vote against SPAM! ********* http://www.politik-digital.de/spam/ ***
participants (2)
-
GPC on Ken Linder's Linux Box -
Peter Gerwinski