Yes, it's supported, and your code is valid. enough?
will be an integer, with value -1
.
Answered
Can a FunC variable store the result of a logical expresson?
Some programming languages let assign a variable the result of a logical expression. In FunC that could look like this:
int enough? = (s.slice_bits() >= flag_len);
Does FunC support this, is it a valid line of FunC code?
This question was imported from Telegram Chat: https://t.me/tondev/136831
12K Views
1
Answer
one year ago
12 months ago
Tags