I don't understand the intended logic here.
the for statement will step by 1 if not set
So
FOR a = 1 to 0
print "Test"
next a
I don't understand the intended logic here.
the for statement will step by 1 if not set
So
FOR a = 1 to 0
print "Test"
next a
or
FOR a = 1 to 1
print "test"
next a
I had to test it.
The first one didn't run. Odd. I was sure it would. (Maybe it does work in some basics?)
You gave it descending values for A
The print inside the top FOR never fired.
People don't usually use FOR for that, but I suppose it works.
So IF was not an option for some reason? Or CASE?
I didn't get what you said at first. I see now
Ah, I see.
If I remove the ' it red lines.
Interesting. I don't make a habit of putting tests after print (and I don't put tests into parts of a FOR statement)
I see what you mean. Can we expect all these to work?
= in a print statement just looks odd to me. Print doesn't test things, it reports them. I don't expect anything with = in it to work.
[edit]
I read the entire help file on PRINT, it does not expect a = at all. You were lucky to get anything to work with it.
Also, I see A$ = A$ is ok and A$ = B$ is ok A$ = B is not, it said not the same type, and A= A is ok.
I consider any use of = in it a bug, it should fail. (a no fail when it should?)