I'm puzzled - the CBasic compiler complains about the 'if' statement in the following code segment:
input "Correct any values (Y/N)? ",d$
d$ = ucase$(left$(d$,1))
if d$ = "Y" then
I'm sure I'm doing something wrong but have looked through the Help file and it's not apparent.
Tnx.
Tom
You've got nothing after the "then". In CBasic the THEN keyword is only valid for single line if statements
Paul.
Obviously too much C# has rotted my brain ... ;)
Tnx.