Posted by tony
(18.104.22.168) on April 23, 2003 at 11:37:09:
In Reply to: Are those Bugs?? posted by alexandre on April 22, 2003 at 10:47:17:
This is deliberate. It wasn't explicitly designed to act this way, but it is a logical consequence of Basic string semantics. data$(i) expands to Mid$(data$,i,1), which is a fixed-length string, usually of length 1. But in this case, its length is 0, because data$ is empty. And if you assign anything to a fixed-length string, its length is unchanged.
Your second problem:
It works for me! Can you generate a listing file and e-mail it to me at the above address? And let me know the version number of your ZCMBASIC compiler. (The compiler displays its version number on the command line when it runs.)