Code: Select all
function objectGet pObjectId, pProperty
end objectGet
command objectSet pObjectId, pProperty, pValue
end objectSet
Code: Select all
set the <property> of myObject <id> to "some value"
Code: Select all
function objectGet pObjectId, pProperty
end objectGet
command objectSet pObjectId, pProperty, pValue
end objectSet
Code: Select all
set the <property> of myObject <id> to "some value"
@PaulDaMacMan This is a different topic then what my post is about. Can you start a new thread so we don't get any responses mixed up?PaulDaMacMan wrote:In short, I would love to see an example of wrapping some foreign code lib written in C but there doesn't seem to be any info about it yet.
T.I.A. to anyone who can shed some light.
trevordevore wrote:@PaulDaMacMan This is a different topic then what my post is about. Can you start a new thread so we don't get any responses mixed up?PaulDaMacMan wrote:In short, I would love to see an example of wrapping some foreign code lib written in C but there doesn't seem to be any info about it yet.
T.I.A. to anyone who can shed some light.
So it seemed appropriate for a thread titled "Designing LCB libraries with open language in mind", but sure I could start another thread, maybe I'm misunderstanding what you're talking about.I'm wondering if you know enough about how open language will be designed yet to comment on what the best approach
Code: Select all
syntax CanvasPropertyAntialias is prefix operator with precedence 4
"the" "antialias" "of" <mCanvas: Expression>
begin
MCCanvasGetAntialias(mCanvas, output)
MCCanvasSetAntialias(input, mCanvas)
end syntax
Code: Select all
syntax GetPropertyOfScriptObject is statement
"get" "property" <Property: Expression> "of" <Object: Expression>
begin
MCEngineExecGetPropertyOfScriptObject(Property, Object)
end syntax