Tag: programming languages
Questions Related to programming languages
-
beta
-
alpha
-
alpha beta
-
Compilation fails
-
No output is produced
-
An exception is thrown at runtime
-
9 foo47 86foo
-
9 foo47 4244foo
-
9 foo425 86foo
-
9 foo425 4244foo
-
72 foo47 86foo
-
72 foo425 86foo
-
%macro hex(start=1, stop=10, incr=1); %local i; data null; %do i=&start to &stop by &incr; value=&i; put "Hexadecimal form of &i is " value hex6.; %end; run; %mend hex;
-
%macro hex(start=1, stop=10, incr=1); %local i; data null; %do i=&start %to &stop %by &incr; value=&i; put "Hexadecimal form of &i is " value hex6.; %end; run; %mend hex;
-
%macro hex(start=1, stop=10, incr=1); %local i; data null; %do i=&start to &stop by &incr; value=&i; put "Hexadecimal form of &i is " value hex6.; run; %mend hex;
-
%macro hex(start=1, stop=10, incr=1); %local i; data null; %do i=&start to &stop by &incr; value=&i; put "Hexadeciaml form of &i is " value hex6.; %end run; %mend hex;
-
QCMPRES: %eval(&x + &y) CMPRES: 15
-
CMPRES: 15 QCMPRES: %eval(&x + &y)
-
QCMPRES: 15 CMPRES: 15
-
QCMPRES:%eval(&x+&y) CMPRES: 15
-
TRIMN(LEFT(string))
-
TRIM(LEFT(string))
-
TRIMN(RIGHT(string))
-
TRIM(RIGHT(string))
-
Copy the contents of the Sasmacr catalog to a temporary data set.
-
List the contents of the Sasmacr catalog as output.
-
Copy the contents of the output window to the Sasmacr catalog.
-
none of the above
-
ABA
-
Math A English B Physics A
-
a A B A
-
aABA
-
be used to assign a data set variable as a value to a macro variable.
-
create a series of macro variables in one DATA step.
-
automatically convert a numeric value to a character value when used to assign a value to a macro variable in a DATA step.
-
be used to assign a numeric value to a macro variable in an SCL (SAS Component Language) program.
-
&TEACH3
-
TEACH3
-
Forest, Mr. Peter
-
none of the above
-
A %MACRO statement must always be paired with a %MEND statement.
-
A macro definition can include macro variable references, but it cannot include SAS language statements.
-
Only macro language statements are checked for syntax errors when the macro is compiled.
-
Compiled macros are stored in a temporary SAS catalog by default.