Felix supports slicing syntax already, same as Python:
a.[first to last]
only using 'to' instead of ':', this is already used by the
string module. The associated function is called 'substr'.
It should return a new array for parameter value, and alias
a subarray if parameter is lvalue (same as C++ would do).
RTL already contains the required routine to convert
indicies into normalised 'start, length' format.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=41692
slicing would also be useful, though we'd have to figure out if we want a slice to
be a new array, or just a modifiable view into the array.
Logged In: YES
user_id=5394
Felix supports slicing syntax already, same as Python:
a.[first to last]
only using 'to' instead of ':', this is already used by the
string module. The associated function is called 'substr'.
It should return a new array for parameter value, and alias
a subarray if parameter is lvalue (same as C++ would do).
RTL already contains the required routine to convert
indicies into normalised 'start, length' format.