Search

"about_Arrays" and "Even More Things You Can Do With Arrays" example suggestion. by Sebastiaan Groot

Active

2
0
Sign in
to vote
Type: Suggestion
ID: 774930
Opened: 12/21/2012 2:20:54 AM
Access Restriction: Public
0
Workaround(s)
The "about_Arrays" (http://technet.microsoft.com/en-us/library/hh847882) and "Even More Things You Can Do With Arrays" (http://technet.microsoft.com/en-us/library/ee692797.aspx) documentation pages contain examples of how to initiate arrays, but no method for creating empty arrays of pre-defined length, even though such examples from VBs are given. A suggested addition to these documents would be something along these lines:

$a = @($null) * n
Details (expand)
How often does this happen?
Always Happens
Have you seen this problem before in this product?
I don't know if this issue existed previously
Reproduction Steps
This is a documentation suggestion. The pages in this example are "about_Arrays" (http://technet.microsoft.com/en-us/library/hh847882) and "Even More Things You Can Do With Arrays" (http://technet.microsoft.com/en-us/library/ee692797.aspx)
Expected Results
Even though examples are given in VBs, no equivalent PS example is given, despite the ability to do so in PS.
File Attachments
0 attachments
Sign in to post a comment.
Sign in to post a workaround.