This repository has been archived by the owner on Jul 7, 2024. It is now read-only.
-
I am using a Lua 5.1 compiler which has several native objects that have methods that use colons. for example
So I would like to do this in urn:
But I don't know exactly how to do it. try to create a nativeObject.lisp file with this:
but I don't know what your meta file should look like. |
Beta Was this translation helpful? Give feedback.
Answered by
SquidDev
Jul 2, 2021
Replies: 1 comment
-
The So your first example would become: (with (value (self nativeObject :GenerateValue "someParameter"))
;; ... I'm afraid I don't follow the other two code blocks - not sure what you're trying to demonstrate there. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
maikawk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
self
method can be used to call functions in a self-call (i.e. with a colon):So your first example would become:
I'm afraid I don't follow the other two code blocks - not sure what you're trying to demonstrate there.