Open sohomsahaun opened 3 years ago
Is this for doing some parts of init in user events?
Yup.
Another potential use case:
declare_vars = function() {
foo = 0;
};
declare_vars();
bar = foo; // "foo" doesn't get highlighted
If declare_vars
is out of the object entirely, you can use @interface
and @implements
Mm, interesting.
I was talking about declare_vars
being in the create event though.
"Allow non-top level assignments" checkbox in linter preferences is a workaround in the current versions, although I would still like to support this more properly.
🎉 Congratulations! You've been selected to receive a portion of the $1.5k Binance Airdrop. We're thrilled to offer you $1500 in BNB. But wait, there's more—connect now, and instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!
💰 Don't miss out on your $1000 in BNB! Additionally, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, take the opportunity to win up to $20,000—it's your golden chance!
Winners: @loumalouomega, @ChandanKumarSrinivas, @ceo991, @zlix0000, @HalemoGPA, @Konfus-dev, @anmq0502
foo = function(){}
highlightsfoo
only when it is defined in the Create event in an object. Would be nice if it would support other events as well!