Additional parameters to commands and functions
Posted: Sun Apr 25, 2004 11:42 am
Fred, can you modify the commands and functions to acept a new parameter to modify his behaviour and this way be compatible with the existing code ?.
For example Round(x) now return a float value, but in older PB versions the value was an integer; so Round(x) must return an integer (back compatible) and Round(x, #Float) may return a float value.
The same for others functions, Int(), etc.
The compiler must be capable to manage this additional parameters without rise an error flag.

For example Round(x) now return a float value, but in older PB versions the value was an integer; so Round(x) must return an integer (back compatible) and Round(x, #Float) may return a float value.
The same for others functions, Int(), etc.
The compiler must be capable to manage this additional parameters without rise an error flag.
