Idera nSoftware Compellent

PSP 3.1 again - codesnippet FOR not correct

rated by 0 users
This post has 0 Replies | 1 Follower

Top 10 Contributor
Posts 76
Top Contributor
brima Posted: 02-16-2010 3:53 AM

Hi,

open the editor and insert the code snippet FOR:
(Tab SNIPPETS>INSERT>LOOPS>SIMPLE FOR) 

for ($x=1; $x -gt 10; $x++) {
 $x
}

This code is not correct, replace -gt with -lt, or -le and it worked. In particular, newcomers are likely to be confused by the error.

Best regards
Martin [brima]

 

Page 1 of 1 (1 items) | RSS
Copyright 2010 PowerShell.com. All rights reserved.