Created
September 19, 2014 20:52
-
-
Save cjdinger/9d49c7eeaea0e4ba6a9b to your computer and use it in GitHub Desktop.
SAS program to use the ARRPI translator to Pirate Speak
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This SAS program uses the ARRPI translator at: | |
http://isithackday.com/arrpi.php | |
To translate whatever English text you supply into | |
Pirate speak for Talk Like a Pirate Day | |
*/ | |
%let text = %sysfunc(urlencode('Hello, SAS users are the best')); | |
filename resp TEMP; | |
proc http | |
url="http://isithackday.com/arrpi.php?text=&text." | |
method='GET' | |
out=resp; | |
run; | |
data _null_; | |
infile resp dsd; | |
length line $ 1000; | |
input line ; | |
put line; | |
run; | |
/* output: | |
Avast, SAS users be ye best | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment