Syntax error sertxd

TYKE

New Member
Ive tried to use the code from page 197 manual concerning sertxd but when I try to use it I keep getting a syntax error, the only way to cure this is to remove the portion "The value of b1 is ". Could someone show me where I am going wrong as I am going google eyed trying to find the solution.




main:
for b1 = 0 to 63 ; start a loop
sertxd(“The value of b1 is ”,#b1,13,10)
pause 1000
next b1 ; next loop
 

hippy

Ex-Staff (retired)
It seems to be a copy-and-paste issue, the double-quotes being converted to something else.

Delete the erroneous characters, re-type the double quotes and everything should be okay. Occasionally it may be necessary to delete a whole line and re-type it as it should be.
 

MartinM57

Moderator
Your quotes look suspicious - they should be plain double quotes, as in
Code:
main:
for b1 = 0 to 63 ; start a loop
sertxd("The value of b1 is",#b1,13,10)
pause 1000
next b1 ; next loop
 
Top