Two very quick - simple questions.
'*****************************************************
; set picaxe type
#picaxe 28x1
Symbol x b1
Symbol y b2
Symbol FileName = w2
FileName = "tempdat.txt"
'*****************************************************
Why is assigning FileName this string illegal?
I don't want to hard code this string in my program: how can I assign it to a variable?
What is the correct way to do this?
Secondly,
How can I do something like:
x=%10101010
y=x.bit3 'assigning the value of 1 to y
Appreciate the help
'*****************************************************
; set picaxe type
#picaxe 28x1
Symbol x b1
Symbol y b2
Symbol FileName = w2
FileName = "tempdat.txt"
'*****************************************************
Why is assigning FileName this string illegal?
I don't want to hard code this string in my program: how can I assign it to a variable?
What is the correct way to do this?
Secondly,
How can I do something like:
x=%10101010
y=x.bit3 'assigning the value of 1 to y
Appreciate the help