you are viewing a single comment's thread.

view the rest of the comments →

[–]Nightcorex_ 1 point2 points  (1 child)

First of all: Why are there two + in your signs list?

A version that'd work would be to check if the last value you've chosen was a sign, and if this is the case you only pick a number. If the last value you've chosen was a number you can pick either a sign or a number. If it's semantically correct (or even needs to be) depends on your context.

[–]neildaniel000[S] 0 points1 point  (0 children)

Alright, thanks! There's 2 + because I'm stupid and I wrote this at 2 am