Syntax check error with cloud and ChomeOS blockly

Hemi345

Senior Member
Hi all,

Merry Christmas!

I'm getting the following error while trying to syntax check a program I wrote with PE6 on my Chomebook using the PICAXE Blockly app:

Code:
Error from compiler
	sertxd ("Program: ",ppp_filename,13,10)
	                    ^
line# 76, col# 21 Error: Unknown symbol - ppp_filename
I tried the PICAXE cloud app in the browser too and same thing. Is this a known issue? Tried searching for it but no results.

Thanks.
 

AllyCat

Senior Member
Hi,

AFAIK ppp_filename represents a string of ASCII characters, so needs to be enclosed in quotation marks " ".

sertxd ("Program: ","ppp_filename",13,10) ; seems to pass the syntax check

Cheers, and a Happy New Year, Alan.
 

techElder

Well-known member
Hemi345, the ppp_filename will be replaced at compile time. So, you have to treat that as a constant just like you do with the characters "Program: ".
 

Technical

Technical Support
Staff member
Blockly on Chromebook does not currently support the PE6 preprocessor, so preprocessor directives like this will need to be removed.
 
Top