Syntax ambiguity with debug operator #641
Answered
by
TodePond
mybearworld
asked this question in
Q&A
-
Take this line: a ? b : c Is it interpreted as a ternary, or as below? a? // Debug information about "a"
b: // A label "b"
c // |
Beta Was this translation helpful? Give feedback.
Answered by
TodePond
Jun 9, 2024
Replies: 2 comments 6 replies
-
sorry there is no ternary so it's like
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
mybearworld
-
That's not true-- you can also add labels to the if statement.
…On Monday, June 10th, 2024 at 11:55 AM, mybearworld ***@***.***> wrote:
Oh, never mind, I forgot DreamBerd doesn't have loops, so labels are not needed!
—
Reply to this email directly, [view it on GitHub](#641 (reply in thread)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AXKQD3MHJHIDSFGZK7HEER3ZGXD7FAVCNFSM6AAAAABJA2AFTSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TOMRZGE4DG).
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sorry there is no ternary so it's like