Quote: "object position x?"
Precisely.
The compiler accepts all three when it shouldn't. As you pointed out in the other thread the compiler will replace all occurrences of x
if they are separated by spaces.
Try the following to see what happens with and without the constant declaration. Of course it could the fact that the extra space is allowed when it shouldn't.
#constant x (6.3/2.1)
make object sphere 1, 50
position object 1, 200, 0, 0
repeat
set cursor screen width()/2, screen height()/2
print object position x (1)
until spacekey()
end
Quote: "Best remove the x, y and z from your list"
Nope. I included them without comment deliberately.