-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for SAS Packages Framework, version 20241027
- Loading branch information
Showing
14 changed files
with
479 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* File generated with help of SAS Packages Framework, version 20241027. */ | ||
proc print data=supercool label; | ||
run; | ||
/* | ||
This comment will be populated to ALL files | ||
in ALL directories. | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* File generated with help of SAS Packages Framework, version 20241027. */ | ||
/* dcmacro macro */ | ||
|
||
%macro dcmacro(hero)/secure; | ||
|
||
%put Hey %superq(hero)! Why so serious?!?!; | ||
|
||
%mend dcmacro; | ||
|
||
/* | ||
%dcmacro(BATMAN) | ||
*/ | ||
|
||
/* | ||
This comment will be populated to ALL files | ||
in ALL directories. | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* File generated with help of SAS Packages Framework, version 20241027. */ | ||
|
||
/* marvelmacro macro */ | ||
|
||
%macro marvelmacro(hero)/secure; | ||
|
||
%if %superq(hero)=HULK %then | ||
%do; | ||
%put "Hulk will, Hulk will... smash you!"; | ||
%goto EOM; | ||
%end; | ||
|
||
%if %superq(hero)=IRONMAN %then | ||
%do; | ||
%put "I'm not a superhero type..."; | ||
%put "The truth is... I am Iron Man."; | ||
%goto EOM; | ||
%end; | ||
|
||
%if %superq(hero)=DEADPOOL %then | ||
%do; | ||
%put "I'll draw a Unicorn for Logan <3 B-] <3"; | ||
%goto EOM; | ||
%end; | ||
|
||
%if %superq(hero)=STARLORD %then | ||
%do; | ||
%put "Squeak, squeak.."; | ||
%put ,.!.. ; | ||
%put "Oh, I'm sorry. I didn't know how this machine worked."; | ||
%goto EOM; | ||
%end; | ||
|
||
|
||
%put Hey %superq(hero)! Tina says: "We don't need another heeeeroooo!!!"; | ||
|
||
%EOM: | ||
%mend marvelmacro; | ||
|
||
/* | ||
%marvelmacro(IRONMAN); | ||
%marvelmacro(HULK); | ||
%marvelmacro(STARLORD); | ||
%marvelmacro(DEADPOOL); | ||
%marvelmacro(BART); | ||
*/ | ||
|
||
/* | ||
This comment will be populated to ALL files | ||
in ALL directories. | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* File generated with help of SAS Packages Framework, version 20241027. */ | ||
|
||
%macro supercool(you,data,what); | ||
%put Hey %superq(you)! My %superq(data) is %superq(what) than your %superq(data)!; | ||
%mend supercool; | ||
|
||
/* | ||
This comment will be populated to ALL files | ||
in ALL directories. | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* File generated with help of SAS Packages Framework, version 20241027. */ | ||
value $ fastformat (default=8) | ||
"VIN" = "Diesel" | ||
other = "Gasoline" | ||
; | ||
/* | ||
This comment will be populated to ALL files | ||
in ALL directories. | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* File generated with help of SAS Packages Framework, version 20241027. */ | ||
invalue infamous (default=8 upcase) | ||
"THE GOOD" = 1 | ||
"THE BAD" = -1 | ||
"THE UGLY" = 0 | ||
other = . | ||
; | ||
value infamous (default=8) | ||
0<-HIGH = "THE GOOD" | ||
LOW-<0 = "THE BAD" | ||
other = "THE UGLY" | ||
; | ||
/* | ||
This comment will be populated to ALL files | ||
in ALL directories. | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* File generated with help of SAS Packages Framework, version 20241027. */ | ||
function furiousfunction(user $,value) $; | ||
length result $ 128; | ||
|
||
result = catx(" ", | ||
user, | ||
"is", | ||
put(value/100, percent12.), | ||
put(upcase(user), $fastformat.) | ||
); | ||
|
||
return(result); | ||
endfunc; | ||
/* | ||
This comment will be populated to ALL files | ||
in ALL directories. | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* File generated with help of SAS Packages Framework, version 20241027. */ | ||
function supercool(data $) $; | ||
return(catx(" ", quote(data), "is Super Cool!")); | ||
endfunc; | ||
/* | ||
This comment will be populated to ALL files | ||
in ALL directories. | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* File generated with help of SAS Packages Framework, version 20241027. */ | ||
data F_and_F; | ||
infile cards dlm=','; | ||
input name $ value; | ||
text = furiousfunction(name, value); | ||
cards; | ||
Vin,100 | ||
The Rock,99 | ||
; | ||
run; | ||
/* | ||
This comment will be populated to ALL files | ||
in ALL directories. | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* File generated with help of SAS Packages Framework, version 20241027. */ | ||
data Sergio; | ||
infile cards dlm=","; | ||
input x :infamous. y; | ||
format y infamous.; | ||
cards; | ||
the good, 42 | ||
THE BAD, -17 | ||
tHe UgLy, 0 | ||
; | ||
run; | ||
/* | ||
This comment will be populated to ALL files | ||
in ALL directories. | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* File generated with help of SAS Packages Framework, version 20241027. */ | ||
/* supercool data */ | ||
|
||
data supercool; | ||
dataCool = "Data, data cool! This data is Super Cool!"; | ||
label | ||
dataCool = "Label for Super Cool data"; | ||
run; | ||
|
||
/* | ||
This comment will be populated to ALL files | ||
in ALL directories. | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* File generated with help of SAS Packages Framework, version 20241027. */ | ||
%marvelmacro(IRONMAN); | ||
%marvelmacro(HULK); | ||
%marvelmacro(STARLORD); | ||
%marvelmacro(DEADPOOL); | ||
%marvelmacro(BART); | ||
%dcmacro(BATMAN) | ||
/* */ | ||
proc print data=F_and_F noobs; | ||
var text; | ||
run; | ||
proc print data=Sergio label; | ||
run; | ||
%supercool(Python, code, faster) | ||
|
||
%supercool(Excel, table, bigger) | ||
data _null_; | ||
x = supercool("WUSS Conference 2023"); | ||
put x=; | ||
run; | ||
/* | ||
This comment will be populated to ALL files | ||
in ALL directories. | ||
*/ |
This file contains 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
Oops, something went wrong.