sqrl icon indicating copy to clipboard operation
sqrl copied to clipboard

Implement `inputNode` in addition to `input()`

Open qix opened this issue 6 years ago • 0 comments

Creating a SqrlNode from an input is not possible, you have to create an additional feature.

Expected behavior

LET Ip := inputNode("Ip");

Should provide you with a SqrlNode of type Ip

Actual behavior

The function does not exist yet, you have to instead:

LET Ip := input();
LET IpNode := node("Ip", Ip);

There is no way to have a node with the same name as an input.

qix avatar Jan 17 '19 23:01 qix