From e62011d97e55a1d0165db8993599421f530f5051 Mon Sep 17 00:00:00 2001 From: munja Date: Tue, 1 Feb 2022 13:52:08 +0100 Subject: [PATCH] chore: updating variable name to fit doc header --- all.sas | 8 ++++---- fcmp/mcf_getfmttype.sas | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/all.sas b/all.sas index 2acb276..74f9a92 100644 --- a/all.sas +++ b/all.sas @@ -23569,7 +23569,7 @@ run; | 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: @@ -23620,12 +23620,12 @@ run; 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') ); diff --git a/fcmp/mcf_getfmttype.sas b/fcmp/mcf_getfmttype.sas index 56f9189..a0968a3 100644 --- a/fcmp/mcf_getfmttype.sas +++ b/fcmp/mcf_getfmttype.sas @@ -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') );