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

Questions with tag func

Questions with tag func

Tags
Sorting
Results
per page
Filter

   
0 Votes
1 Answers
19K Views
0 Votes 1 Answers 19K Views
Is there a built-in way to exponentiate numbers in FunC? If there isn't and it is up to developer to write a function, probably the community has already wri...
2 years ago
0 Votes
0 Answers
6K Views
0 Votes 0 Answers 6K Views
Suppose we check for two conditions at the same time: if( (a == b) & (b == c) ). If a is not equal to b, that makes the first condition false. And that means...
2 years ago
0 Votes
2 Answers
17K Views
0 Votes 2 Answers 17K Views
I found a strange behavior in func bitwise operation. I don't understand why. slice slice0 = begin_cell().store_coins(123).end_cell().begin_parse(); int resu...
one year ago
0 Votes
1 Answers
18K Views
0 Votes 1 Answers 18K Views
How is a reference serialized (stored)? --- > This question was imported from Telegram Chat: https://t.me/tondev_eng/9475
0 Votes
2 Answers
21K Views
0 Votes 2 Answers 21K Views
Do I get it right that if my smart contract needs to store a string longer than 1023 bits, I should split that thing in parts and make a chain of cells conta...
2 years ago
2 Votes
1 Answers
20K Views
2 Votes 1 Answers 20K Views
I have function like this: clike () save_data_on_update(slice destination_address) impure inline { builder q = begin_cell(); builder qSliceDestinationAddress...
2 years ago
0 Votes
2 Answers
22K Views
0 Votes 2 Answers 22K Views
Follow the docs there:https://ton.org/docs/develop/func/overview back by the code: () send_money(slice address, int amount) impure inline { var msg = begin_c...
2 years ago
1 Votes
1 Answers
9K Views
1 Votes 1 Answers 9K Views
In TON, messages are used to send data and instructions to smart contracts. Sometimes, these messages can contain large amounts of data such as media files, ...
0 Votes
1 Answers
16K Views
0 Votes 1 Answers 16K Views
Is it possible to call a function in a recursive way in FunC? If so, how exactly should I do it? I haven't found it in the FunC documentation, is it covered ...
2 years ago
0 Votes
1 Answers
19K Views
0 Votes 1 Answers 19K Views
What would be your suggestions on some basic pet projects for studying main concepts of ton? These would be smart contracts to write immidiately after doing ...
2 years ago
1 Votes
2 Answers
9K Views
1 Votes 2 Answers 9K Views
Hello everyone, please explain: ```` () send_message_back(addr, ans_tag, query_id, body, grams, mode) impure inline_ref { ;; int_msg_info$0 ihr_disabled:Bool...
0 Votes
1 Answers
20K Views
0 Votes 1 Answers 20K Views
For some reason I can't parse commentary that I receive in a transaction. This commentary is specified when sending ton coins from a wallet to a smart contra...
2 years ago
0 Votes
1 Answers
18K Views
0 Votes 1 Answers 18K Views
It looks like Message X is almost the same as MessageAny. What is the difference? --- > This question was imported from Telegram Chat: https://t.me/tondev_en...
2 years ago
0 Votes
0 Answers
14K Views
0 Votes 0 Answers 14K Views
In modular arithmetic there is such a thing as modular multiplication. Does it have a built-in support in FunC? --- > This question was imported from Telegra...
one year ago
0 Votes
1 Answers
19K Views
0 Votes 1 Answers 19K Views
How can I print out something in FunC? https://t.me/tondev_eng/9305
2 years ago
0 Votes
1 Answers
7K Views
0 Votes 1 Answers 7K Views
FunC language evolves and gets new versions. But there seems to be no release notes for those versions on the TON website and FunC doesn't have its own websi...
2 years ago
0 Votes
1 Answers
9K Views
0 Votes 1 Answers 9K Views
Hi, I transferred my TG NFT username to another wallet, but the transfer has not happened yet. The transaction generated exit code 206. Is this normal? Can s...
1 Votes
1 Answers
19K Views
1 Votes 1 Answers 19K Views
There are extensions for code editors like Visual Studio Code providing syntax highlighting for FunC. Is there anything like that for the vim editor? --- > T...
2 years ago
0 Votes
1 Answers
4K Views
0 Votes 1 Answers 4K Views
In FunC there is a function run_ticktock called in ticktock transactions of special smart contracts. But can such smart contracts work on a basechain, or is ...
2 years ago
0 Votes
1 Answers
19K Views
0 Votes 1 Answers 19K Views
Is there any more materials on writing those tests? Since I am just joined the TON ecosytem. As far as I understood, in order to test internal command, tests...
1 Votes
1 Answers
19K Views
1 Votes 1 Answers 19K Views
Many programming languages have a ternary operator, such as booleanExpression ? expression1 : expression2 in Java (if booleanExpression equals true, than exp...
2 years ago
0 Votes
1 Answers
14K Views
0 Votes 1 Answers 14K Views
Is there a built-in square root function in the language? And if not, maybe there is a popular library with the optimal implementation? --- > This question w...
2 years ago
0 Votes
1 Answers
19K Views
0 Votes 1 Answers 19K Views
Do I get it right that there is no implementation of a floating-point numbers type such as float in FunC? --- > This question was imported from Telegram Chat...
2 years ago
0 Votes
0 Answers
6K Views
0 Votes 0 Answers 6K Views
I've previously seen tilde symbol used for bitwise NOT in other programming languages, so placing ~ before some X means "not X". But it seems in FunC it work...
2 years ago
0 Votes
1 Answers
19K Views
0 Votes 1 Answers 19K Views
In general-purpose languages there often is some form of try. Is there anything like that in FunC I could use to validate data in msg_body? > This question w...
2 years ago
0 Votes
0 Answers
6K Views
0 Votes 0 Answers 6K Views
On TON, everything is a cell, and a slice is a cell opened up for reading. But can a slice contain another slice inside? --- > This question was imported fro...
2 years ago
0 Votes
1 Answers
14K Views
0 Votes 1 Answers 14K Views
If there are two numbers, like 1100 and 0011, what is the easiest way to "concatenate" them (not adding, but merging into a single number containing all the ...
one year ago
0 Votes
0 Answers
19K Views
0 Votes 0 Answers 19K Views
It is probably a silly question, but it is confusing for a newcomer. What is the difference between msg and msg_body, aside from the type difference? --- > T...
2 years ago
0 Votes
1 Answers
17K Views
0 Votes 1 Answers 17K Views
I've been trying to do the following using the uncons function, but it doesn't destructure as I expect it to: (var l, var rvalues) = uncons(values); --- > Th...
2 years ago
0 Votes
0 Answers
16K Views
0 Votes 0 Answers 16K Views
I use Visual Studio Code with the "FunC Language Support" extension by Whales Corp. This setup is convenient and often helps with the autocompletion in FunC....
one year ago
Show more results questions