Support Board
Date/Time: Tue, 22 Apr 2025 21:16:27 +0000
Post From: canceled stop order continues to have status SCT_OSC_OPEN
[2023-03-09 19:09:19] |
ondafringe - Posts: 322 |
In your first example, your variable would remain in-scope as long as that scope is the highest level scope. The fact that your variable is retaining its value suggests your variable is remaining in-scope. In your second example, yes, once execution leaves that scope, that if-construct, your variable will no longer exist. But... your variable will be recreated and destroyed every single time code execution passes through that if-construct. Date Time Of Last Edit: 2023-03-09 19:11:39
|