On Tue, Jun 11, 2013 at 1:40 PM, BNig <niggem...@uni-wh.de> wrote: > on mouseUp > put 256 into tSoMany > repeat with i = 1 to tSoMany > put i & tab & tab & "Just Some Colorized Text" & return after tData > end repeat > delete last char of tData > lock screen > put tData into field 1 > repeat with i = 1 to tSoMany > set the textColor of line i of field 1 to i > end repeat > repeat with i = 1 to tSoMany > put tab & (the textColor of line i of field 1) after line i of field > 1 > end repeat > > unlock screen > end mouseUp >
Fascinating! I guess single numbers get translated into rgb triplets somehow. The dictionary has something in it about single numbers being treated as a valid color by "is a" for compatibility with Hypercard. Pete lcSQL Software <http://www.lcsql.com> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode