This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
howdy y'all,
[never mind. [blush] i forgot that it does an IN PLACE reverse and the result is put back into the array, not sent to the output.]
i saw this thread ...
Shortest Script Challenge - Palindrome Tester
— https://www.reddit.com/r/PowerShell/comments/7it9rh/shortest_script_challenge_palindrome_tester/
... and thot that the [array]::Reverse()
method would be one way to handle it.
i get nothing from that. all the examples i can find also give me nothing. no output at all, nothing gets assigned if i try to assign it to something.
the annoying thing is that it DID work several months ago. that code does not work now.
has something changed? is my setup glitched?
system & PoSh info ...
os = win7x64, fully patched
Name Value
---- -----
PSVersion 5.1.14409.1012
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14409.1012
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
take care,
lee
Subreddit
Post Details
- Posted
- 6 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/PowerShell/...