PicoMite V6.00.02 release candidates - all versions


Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5616
Posted: 02:00pm 13 Mar 2025      

  matherp said  
  Quote  these are the equivalent of the command MID$(var$,byteno+1,1)=CHR$(value) and
the function ASC(MID$(var$,byteno+1,1)) but faster and more obvious


No: mid$ starts from 1 not zero like all string functions as does my new command unless there is a bug.


Ok, may fault. You referred to the return value being in the range [0...255], not the variable "byteno". Byteno should be in the range [1...255] then.

Volhout