BlocklyProp
BlocklyProp copied to clipboard
Enhance Named constants to accept more than just decimal
The named constant block currently only accepts a fixed decimal value. Please enhance to accept a decimal, hexadecimal, binary, or character value block as input.

Can easily be done...how wide should we open it. Hex and Binary, or further, allow any text?
Blockly itself assumes that the value is numeric... so we have to be careful with this.
Dec, Hex, Bin, and ASCII Char, assuming the character can be input as a visual character and is stored in the constant as it's ASCII number.
like 'a' or 'Q' or '*' ? Dec, bin, hex are easy because it's just a regex filter, but filtering chars it's going to take me a while to figure out...