macMikey / LCB-missing-manual

I'm trying to learn LCB, again, but the docs are thin.
MIT License
4 stars 4 forks source link

what in the world is the bracket syntax used for when posting an event? #43

Closed macMikey closed 1 year ago

macMikey commented 1 year ago

if i try to post a message: post "menuPick" with tPickedName i will get an error when the line executes regarding the type: LCB Error No matching handler for arguments with types (<type: livecode.lang.string>,<type: livecode.lang.string>) - possible handlers (MCEngineExecPostWithArguments)

This works: post "menuPick" with [ tItemName ]

macMikey commented 1 year ago

that's exactly what it means. if you read the post dictionary entry it does say that the return value is a list of arguments