New: Expression blocks in Calcpad #676
Replies: 6 comments 23 replies
-
|
Hi Ned Are there any disadvantages of just start using new |
Beta Was this translation helpful? Give feedback.
-
|
Hi, @Proektsoftbg! I was playing around with the new
|
Beta Was this translation helpful? Give feedback.
-
|
Hi! I made quite and advancement in fixing these things. Please, check the latest commit. |
Beta Was this translation helpful? Give feedback.
-
|
Can't use #for loop inside $block |
Beta Was this translation helpful? Give feedback.
-
|
hi |
Beta Was this translation helpful? Give feedback.
-
|
how to wrap/split large equations in $block{}. tried using #split and #wrap command. |
Beta Was this translation helpful? Give feedback.

















Uh oh!
There was an error while loading. Please reload this page.
-
Dear friends,
I added the next big feature in Calcpad - expression blocks. You use them to embed a short algorithmic procedures with local variables in function definitions, inline loops and other expressions. There are two types of expression blocks: $block{expressions} and
$inline{expressions}. The difference is only in the way they are rendered - multiline of inline. The expressions are separated by semicolons ";". Of course, you can write everything in one line of code, but you can also split it into several lines for readability by using line continuation symbol "_". If your line finishes with ";" and "}" you can skip adding "_".Here is an example for two functions:
Beta Was this translation helpful? Give feedback.
All reactions