I need some advice/help in resolving the issue I have with inclusion of Macros in
Picaxe programs. My setup works fine for all programs that DO NOT have a Macro in the
.bas file. When there is a Macro, I get an error message when I try to check syntax. The
message says ;-
------------------------------------------------
Syntax Check Failed
#Macro SendToLCD
^
Syntax error on line 75 at/before position 1
Error: syntax error
-------------------------------------------------
Listed below is the first Macro in a file from --- axe133-18M2driver-4bit-freeconfig4.bas by
Jurjen Krakenborg (28-12-21)
-----
; Do not change this macro ...
#Macro SendToLCD
DB7 = bit7
DB6 = bit6
DB5 = bit5
DB4 = bit4
pulsout enable,1
DB7 = bit3
DB6 = bit2
DB5 = bit1
DB4 = bit0
pulsout enable,1
#EndMacro
-------------------------------------------------
This error message has appeared in many other programs with Macros
My Setup:-
PE 6.1.0.0 , AXE027 cable, Win10 , Dell laptop (2019)
Picaxe programs. My setup works fine for all programs that DO NOT have a Macro in the
.bas file. When there is a Macro, I get an error message when I try to check syntax. The
message says ;-
------------------------------------------------
Syntax Check Failed
#Macro SendToLCD
^
Syntax error on line 75 at/before position 1
Error: syntax error
-------------------------------------------------
Listed below is the first Macro in a file from --- axe133-18M2driver-4bit-freeconfig4.bas by
Jurjen Krakenborg (28-12-21)
-----
; Do not change this macro ...
#Macro SendToLCD
DB7 = bit7
DB6 = bit6
DB5 = bit5
DB4 = bit4
pulsout enable,1
DB7 = bit3
DB6 = bit2
DB5 = bit1
DB4 = bit0
pulsout enable,1
#EndMacro
-------------------------------------------------
This error message has appeared in many other programs with Macros
My Setup:-
PE 6.1.0.0 , AXE027 cable, Win10 , Dell laptop (2019)