Update doc
This commit is contained in:
1 parent
1277c75ea3
commit
0f7d5bf366
1 file changed
+5
-2
@@ -6955,11 +6955,14 @@ M_LET( (b, a), string_t){ string_fputs(stdout, b); }
|
|||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> The user code shall not perform a return or a goto (or `longjmp`) within the next block
|
> The user code shall not perform a return or a goto (or `longjmp`) within the next block
|
||||||
> with a terget outside this block or a call to an exit function.
|
> with a target outside this block.
|
||||||
> Otherwise the clear code of the object won't be called.
|
> Otherwise the clear code of the object isn't called.
|
||||||
> However, you can use the break instruction to quit the block
|
> However, you can use the break instruction to quit the block
|
||||||
> (the clear function will be executed) or throw an exception.
|
> (the clear function will be executed) or throw an exception.
|
||||||
|
|
||||||
|
If a call to an exit function in the next block is performed,
|
||||||
|
the clear code of the object isn't called.
|
||||||
|
|
||||||
You can chain the `M_LET` macro to create several different variables.
|
You can chain the `M_LET` macro to create several different variables.
|
||||||
|
|
||||||
##### `M_LET_IF(init_code, test_code, clear_code [, else_code] )`
|
##### `M_LET_IF(init_code, test_code, clear_code [, else_code] )`
|
||||||
|
|||||||
Reference in new issue
Block a user