Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 11 Apr 2011 13:15:37 +0200 (CEST)
I think, i mentioned it already some time ago for some previous version .. but just in case, i didn't:
When defining own constants like
You can't use those constant in TextOut-Objects *IF* you want to compile the script to a machine binary (tested with amigaos3 and amigaos4):
Code: Select all
TextOut(0,0,"[color=#MYCOLOR]bla bla[/color]");
This gives an error about "unknown" constant. When executing the script directly (without compiling it to some machine binary), the line above works.
Predefined constants, like #RED do always work -- only self defined constants don't work.
regards, Tom