Skip to content

Local variables and loops in functions and callbacks #4838

Closed Answered by ogoffart
HitecExports asked this question in Q&A
Discussion options

You must be logged in to vote

In general, we're trying to keep the Slint language as not a programming language, but rather a description language.
For this reason, we don't want a turing complete language. So I'd rather not add loops.
More complex things needs to be done in native code.

Are there any plans to add the possibility of using local variables in functions and callbacks?

This is something that makes sense: #2752

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HitecExports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants