Runtime evaluation: Difference between revisions
Content added Content deleted
Line 1,095: | Line 1,095: | ||
Change the variable and execute the scriptblock, the closed version will not reflect the change: |
Change the variable and execute the scriptblock, the closed version will not reflect the change: |
||
<lang PowerShell> |
<lang PowerShell> |
||
$title = " |
$title = "I'm Too Sexy" |
||
& $scriptblock |
& $scriptblock |
||
& $closedScriptblock |
& $closedScriptblock |
||
Line 1,101: | Line 1,101: | ||
{{Out}} |
{{Out}} |
||
<pre> |
<pre> |
||
I'm Too Sexy |
|||
Right Said Fred |
|||
Dong Work For Yuda |
Dong Work For Yuda |
||
</pre> |
</pre> |