Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

How to declare a method that uses a colon? #36

Answered by SquidDev
maikawk asked this question in Q&A
Discussion options

You must be logged in to vote

The self method can be used to call functions in a self-call (i.e. with a colon):

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by maikawk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #35 on July 02, 2021 21:03.