Thanks everyone, for your help in this. I have now coded my way
round the difficulty. All in all, I am very pleased with LB. I
should have switched a few years back, I fear.
--- In firstname.lastname@example.org
, David Speck
> You are correct -- in LB, MID$ is a "read only" function. You have
> do concatenation yourself to insert characters into a string.
> Malcolm Wheatley wrote:
> > Can anyone see anything wrong with these two lines of code, which
> > fine under QB, but which now incur the message "syntax error"?
> > First line=
> > MID$(Edit$, TxtPos) = MID$(Edit$, TxtPos + 1) + " "
> > Second line=
> > MID$(Edit$, TxtPos) = " "
> > All I can think of is that under Liberty Basic, MID$ is a "one
> > function -- geting text from a string, but not putting it into a
> > Is this correct???
> > Malcolm Wheatley