derek
New Member
Posts: 1
|
Post by derek on Jul 14, 2024 10:21:54 GMT
Hi,
I am having a little problem with QB64 on Linux Mint, with regards to the LINE INPUT statement on an old QBASIC programme I am tryig to rn in QB64.
The state in the programme asks for a input of a line of text with:
LINE INPUT ">";COMMAND$
Which when run on QB64, gives an and error message of:
Expected variable on current line Cause by (of after): LINE INPUT ">";COMMAND$
Can anyone help with what the error means?
Is COMMAND$ a reserved name?
|
|
|
Post by bplus on Jul 14, 2024 13:13:14 GMT
Yes Command$ is a reserved word, it is a QB reserved word not a QB64 reserved word. Just use another varaiable name; should fix problem.
|
|