Hi, I've got an int variable that I'm trying to assign a certain number to [int]number=200 But I'm getting:
At line:1 char:6
Unexpected token 'number=200' in expression or statement.
+ CategoryInfo : ParserError: (:) , ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
seems to be a minor problem. Place te $ sign before your variable and will work just fine
Ok, thx, it works now