Hash :
475a5903
Author :
Date :
2020-05-18T14:01:07
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
proc lua;
/* Testing a comment */
submit;
array = { 1, 2, 3, 4, 5 }
sum = sas.sumx(array)
print(sum)
endsubmit;
run;
----------------------------------------------------
[
["step", "proc lua"],
["punctuation", ";"],
[
"proc-lua", [
["comment", "/* Testing a comment */"],
["submit-statement", "submit"],
[
"lua", [
["punctuation", ";"],
"\r\n array ",
["operator", "="],
["punctuation", "{"],
["number", "1"],
["punctuation", ","],
["number", "2"],
["punctuation", ","],
["number", "3"],
["punctuation", ","],
["number", "4"],
["punctuation", ","],
["number", "5"],
["punctuation", "}"],
"\r\n sum ",
["operator", "="],
" sas",
["punctuation", "."],
["function", "sumx"],
["punctuation", "("],
"array",
["punctuation", ")"],
["function", "print"],
["punctuation", "("],
"sum",
["punctuation", ")"]
]
],
["submit-statement", "endsubmit"],
["punctuation", ";"]
]
],
["step", "run"],
["punctuation", ";"]
]
----------------------------------------------------
Checks for proc lua support.