I don't think it's meant to be a string, in Pascal clLime would probably be a constant variable defined by the standard library or whatever to be some hex code that looks "lime" colored. Try 0x00FF00 or something like that
...
yeah, http://wiki.freepascal.org/Colors#Table_of_standard_colors
Though it does look like it's meant to support strings, and CE does support MainForm.Color = '$00FF00', though 'clLime' just makes it black /shrug maybe a custom implementation that just supports a couple versions of hex?
...
Looks like it, here it's just calling lua_tointeger which tries to convert whatever you gave it to an integer, but lua's standard functions don't have any reason to support Pascal's color strings _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum