I added one line to help Suzy Coder. My earlier one-liner now throws this error:
BCX BASIC to C/C++ Translator (c) 1999 by Kevin Diggins
Version 7.4.7 (BETA)
Error!
test.bas
MID$ statement string argument cannot be a literal at line 1 in Module: test.bas
Original line
MID$("What does this accomplish?",1) = "This just proves the point ... "
==============
Current Tokens
==============
1 midstr
2 (
3 "What does this accomplish?"
is a STRING LITERAL
4 ,
5 1
6 )
7 =
8 "This just proves the point ... "
is a STRING LITERAL
===============
Original Tokens
===============
1 MID$
2 (
3 "What does this accomplish?"
is a string literal
4 ,
5 1
6 )
7 =
8 "This just proves the point ... "
is a string literal
There remains numerous other ways for Suzy Coder to blow her foot off.