1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-03 15:40:05 +00:00

chore: updating variable name to fit doc header

This commit is contained in:
munja
2022-02-01 13:52:08 +01:00
parent cd8d16d09f
commit e62011d97e
2 changed files with 8 additions and 8 deletions

View File

@@ -12,7 +12,7 @@
| 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:
@@ -63,12 +63,12 @@
proc fcmp outlib=&lib..&cat..&pkg;
%end;
function mcf_getfmttype(var $) $8;
if substr(var,1,1)='$' then return('CHAR');
function mcf_getfmttype(fmtnm $) $8;
if substr(fmtnm,1,1)='$' then return('CHAR');
else do;
/* extract NAME */
length fmt $32;
fmt=scan(var,1,'.');
fmt=scan(fmtnm,1,'.');
do while (
substr(fmt,length(fmt),1) in ('1','2','3','4','5','6','7','8','9','0')
);