Execute HQ9+: Difference between revisions
m
→{{header|PowerShell}}
m (added a ;Task: (bold) header, elided superfluous wording in the task.) |
|||
Line 1,227:
=={{header|PowerShell}}==
I'm not sure why, but it bothered me that the '+' function of HQ9+ was completely useless. So I added the <code>-Global</code>
switch option. When specified it creates and/or increments a variable named '+' in the global scope.
This program treats all text except for 'H','Q','9' and '+' as whitespace and when 'Q' is called, returns the exact text. This
|