mirror of
https://github.com/sasjs/core.git
synced 2026-01-16 21:10:05 +00:00
chore: updating variable name to fit doc header
This commit is contained in:
8
all.sas
8
all.sas
@@ -23569,7 +23569,7 @@ run;
|
|||||||
|
|
||||||
| PARAMETER | DESCRIPTION |
|
| PARAMETER | DESCRIPTION |
|
||||||
|---|---|
|
|---|---|
|
||||||
| fmt | Format name to be tested. Can be with or without the w.d extension.|
|
|fmtnm| Format name to be tested. Can be with or without the w.d extension.|
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
@@ -23620,12 +23620,12 @@ run;
|
|||||||
proc fcmp outlib=&lib..&cat..&pkg;
|
proc fcmp outlib=&lib..&cat..&pkg;
|
||||||
%end;
|
%end;
|
||||||
|
|
||||||
function mcf_getfmttype(var $) $8;
|
function mcf_getfmttype(fmtnm $) $8;
|
||||||
if substr(var,1,1)='$' then return('CHAR');
|
if substr(fmtnm,1,1)='$' then return('CHAR');
|
||||||
else do;
|
else do;
|
||||||
/* extract NAME */
|
/* extract NAME */
|
||||||
length fmt $32;
|
length fmt $32;
|
||||||
fmt=scan(var,1,'.');
|
fmt=scan(fmtnm,1,'.');
|
||||||
do while (
|
do while (
|
||||||
substr(fmt,length(fmt),1) in ('1','2','3','4','5','6','7','8','9','0')
|
substr(fmt,length(fmt),1) in ('1','2','3','4','5','6','7','8','9','0')
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
| PARAMETER | DESCRIPTION |
|
| PARAMETER | DESCRIPTION |
|
||||||
|---|---|
|
|---|---|
|
||||||
| fmt | Format name to be tested. Can be with or without the w.d extension.|
|
|fmtnm| Format name to be tested. Can be with or without the w.d extension.|
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
@@ -63,12 +63,12 @@
|
|||||||
proc fcmp outlib=&lib..&cat..&pkg;
|
proc fcmp outlib=&lib..&cat..&pkg;
|
||||||
%end;
|
%end;
|
||||||
|
|
||||||
function mcf_getfmttype(var $) $8;
|
function mcf_getfmttype(fmtnm $) $8;
|
||||||
if substr(var,1,1)='$' then return('CHAR');
|
if substr(fmtnm,1,1)='$' then return('CHAR');
|
||||||
else do;
|
else do;
|
||||||
/* extract NAME */
|
/* extract NAME */
|
||||||
length fmt $32;
|
length fmt $32;
|
||||||
fmt=scan(var,1,'.');
|
fmt=scan(fmtnm,1,'.');
|
||||||
do while (
|
do while (
|
||||||
substr(fmt,length(fmt),1) in ('1','2','3','4','5','6','7','8','9','0')
|
substr(fmt,length(fmt),1) in ('1','2','3','4','5','6','7','8','9','0')
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user