@Alexander,
Only a limited number of commands will work with the PortA pins.
Port A is primarily the analogue inputs for the PICAXE 28X1 and 40X1 chips
Within PICAXE BASIC programming you are limited to testing the state (high or low) for each PortA pin individually. See PICAXE manual 2 page 127
so the syntax is in the form
IF PORTA <pin#> <test condition> value {AND/OR variable <test condition> value ...} THEN {GOTO} address/label
If you wanted to simultaneously test the state of several pins on PortA you can use the PEEK command to read the entire PortA register which is at address SRF address 5 (you need to read the PIC datasheet to identify that location). So,
PEEK 5, b9
will put the status of the entire set of portA pins into variable b9.
Say you wanted to see if any of pins 0, 1 or 2 were then high, you could then use
PEEK 5, b9
b9 = b9 AND %00000111 ; only keep data from pins 2,1 ,0
IF b9 > 0 THEN dosomething ; goto label/action of any of the 3 pins is high (=1)