Jump to content

Execute HQ9+: Difference between revisions

m
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. (For those of you in
Rio Linda this means the variable persists forever or until you exit PowerShell.)
 
This program treats all text except for 'H','Q','9' and '+' as whitespace and when 'Q' is called, returns the exact text. This
308

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.