Understanding "unit" returned from some functions #2286
Unanswered
vrtisworks
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I think this is related to |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am in the process of upgrading from 1.x to 2.0
This worked in 1.x
localOut = ref output.dummy(blank())
...
some code that eventually sets localOut to a real value
...
source.shutdown(!localOut)
I have tried various combinations of parentheses and :source in different places. I get various syntax messages. So, apparently I haven't got a good enough understanding of how this works in 2.0
Can somebody point me in the righth direction or help figure out how to get this working?
Thanks a bunch
Beta Was this translation helpful? Give feedback.
All reactions