Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
BTW I think matherp was hinting that you should check the usage of MID$. Edited 2020-08-30 21:41 by ChopperpChopperP
capsikin Guru Joined: 30/06/2020 Location: AustraliaPosts: 341
Posted: 02:08pm 30 Aug 2020
Copy link to clipboard
Print this post
I guess I'll reread it in case I missed something.
From the manual:
so in my use, the characters in s$ (initially "123", and "..3" by the time of the last change) beginning at position 3, are replaced by the characters in ".". 1 character from "." is used in the replacement. Looks correct.
Did you see there's a command version as well as a function version?
I think I might understand the distinction you're making. But I don't know if you mean it shouldn't give an error or should give a different error.
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10055
Posted: 03:15pm 30 Aug 2020
Copy link to clipboard
Print this post
It was a bug in the error checking - fixed in the 5.05.05 version Geoff has just uploaded
capsikin Guru Joined: 30/06/2020 Location: AustraliaPosts: 341