from https://beyondloom.com/decker/lil.html :
"Types and Conversions
There are 8 types of value in Lil: numbers, strings, lists, dictionaries, tables, functions, interfaces, and the nil value.
"
I have a string type that I want to convert into a function call. How do I do it?
Starting with:
"canvas_16.paste[images_color.widgets.canvas_1.copy[]]"
How do I get:
canvas_16.paste[images_color.widgets.canvas_1.copy[]]
?
I've tried and failed with the following:
> eval["canvas_16.paste[images_color.widgets.canvas_1.copy[]]"] # bugged.
> "canvas_16.paste[images_color.widgets.canvas_1.copy[]]"[0] # "c". Not what I wanted. > first "canvas_16.paste[images_color.widgets.canvas_1.copy[]]" # "c". Not what I wanted.
select a canvas, e.g. canvas_16, then in listener:
> me.event["paste" "images_color.widgets.canvas_1.copy[]"] # nil. (No event named "paste"?)
Help?
