Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

You can foreach a null?!?!?!

$
0
0
> foreach( $d in $null ) { "This will never be printed!" }
This will never be printed!


Huh?  Why would I ever want this to be acceptable behavior?



Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>