trying to extract a slice

BlitzMax Forums/BlitzMax Programming/trying to extract a slice

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

From the Slices doc :
The length of the returned slice is always ( EndIndex - StartIndex ) elements long, even if StartIndex is less than 0 or EndIndex is greater than the length of the string or array.

You're slicing 1 array entry from index 1 and writing it to Temp_a position 0