Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
What does the "x - y" notation mean in TON documentation?

Using the TON documentation, one can stumble upon tables that have a column with some "x - y" notation, like this one:

What exactly does "b - x" mean here?


This question was imported from Telegram Chat: https://t.me/tondev/137224

Votes Newest

Answers


It's "inputs" and "outputs" of an operation. The part before - is what needs to be on the top of the stack to be used. The part after - is what's placed on the top of the stack after it's over. The letters stand for data types (Builder is noted as b, and so on).

So in this particular case this notation means that the operation requires an instance of Builder data type to be on the top of the stack, it takes that Builder instance and returns a number (of bits already stored in that Builder), placing it on the top of the stack. Note that the Builder itself disappears from the stack in process.

1
1
Posted one year ago
Edited one year ago
12K Views
1 Answer
one year ago
one year ago
Tags