Use $nl as separator for variadic inputs

I don’t get why this isn’t possible. Is it a bug / misfeature?

Also bump

Hey, calm down, you're way too demanding here, take a break and go out and play with some friends. Variadic inputs do not (yet) support line breaks, okay?

What do you mean by this? (asking @sathvikrias)

What? I don't think they were being demanding

This also acts as a feature request. Would this be added or not?

folks, I'm trying to stay abreast of what's going in this forum, and I'm reading every post in here, but I can't respond to every request / question / blurb that's directed to the "devs". So please, I appreciate that y'all are obsessing over blocks and what you can do to them, especially with metaprogramming, and I genuinely love some of the cool inventions you've made (like @cameron8299's awesome use of a block as monitor for games). I do have a life outside of this forum (and even outside of Snap!, believe it or not) and I won't get bogged down with live-chats in here, especially when I get the impression that they're just that, live chats about things that you can either easily find out yourself or that are just too superficial and bother / annoy me. This topic falls into that category. I mean, geez, Snap is a programming language, it lets you do a lot of things, and it doesn't let you do a whole wider lot of things. Are y'all stalking Guido for Python, Brendan for JS or Mitch for Scratch? Gimme an occasional break. Thank you.

$nl is used only for a Symbol for blocks and other labels (such as :settings_icon: for the options menu), and probably won't be used in menus for a while. Also,

I'm sorry Jens, that you feel stressed about this forum. I know that I haven't replied, besides this reply, but don't worry. I will try not to bother you any more. (unless it's very, very, urgent!)

This topic has nothing to do with menus, it has to do with variadic inputs.

With variadic inputs, you can set a separator, which can include symbols, but not newlines.

Last time I checked, %br worked. That's probably from dev builds. (Works on :snap: 10)

Sorry, it's just that you told the op to calm down for bumping a topic that had no response, and also said that variadic inputs don't support newlines. I admit, I did kind of glaze over your "(yet)" bit, so I'll take that as my fault for not thinking about that. Still, I think you should've instead just said whether or not it was to come at some point, rather than telling @sathvikrias that they're too demanding (for bumping s topic that had no response after 9 days).

Wait, that works? Although, the issue is that $nl is used in block labels to add a newline, rather than %br (although that's used internally). It would make sense to be able to use $nl in variadic input separators instead of %br (which practically no one would know about, unless they go deep into snap).

The only issue with that is I can’t have 1 input slot in the input unless I use the shift click hack. (That’s just because the sum, product, min, and max make that happen.)

You can set min slots to 1, unless you want 0 inputs to be possible, otherwise, I don't think it's possible to not snap to 2 inputs.

Ok. I will try 1 more thing.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.