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