i thought it only for numbers and string and not for any expression
it's more like #define in c++, but cannot write function-like expressions kind of
#constant ttt(a,b) Print(a + b)
test this:
it's fun
va as string = '1'
vb as string = '-'
vc as string = '2'
#constant new_Car CreateObjectSphere
#constant car1_x GetObjectX(car1)
#constant car1_y GetObjectY(car1)
#constant car1_z GetObjectZ(car1)
#constant fn test(
#constant args1 va, vb, vc)
#constant StartPrint print(
#constant EndPrint )
car1 = new_Car (3, 6, 6)
do
fn args1
StartPrint "Test" EndPrint
test( str(car1_x),str(car1_y),str(car1_z) )
Print( ScreenFPS() )
Sync()
loop
end
function test(va as string,vb as string,vc as string)
Print(va+vb+vc)
endfunction