CLS FOR Outer = 1 TO 5 STEP 1 FOR in = CHR$(65) TO CHR$(70) <------TYPE MISMATCH????? PRINT in; NEXT in PRINT NEXT Outer what am i doing wrong? any help on this would be greatly appreciated....thanks :confused:
Well you are making it too difficult, the reason is write in front of you. CHR$(65) gives you what value?
...
Look at your ASCII Table if you don't know off hand.....
It is the CharacterA .
Now, look at your code. For in = CHR$(65) Stop right there!
If CHR$(65) gives a value of A and in is no doubt an integer value this is where you mismatch starts. You care comparing a Character String (albiet one character) to an Integer! So it unfortunately won't work. Can only compare like datatypes.
So some Conversion will be needed and I think you need to check your logic for this code....
Hope this helps.... If not let me know if you need more help!
Paladine
Master Poster
Team Colleague
824 posts since Feb 2003
Reputation Points: 211
Solved Threads: 27