From 61d5806e791dceb22cfa32809f6d5e4ffce15142 Mon Sep 17 00:00:00 2001 From: yabwon Date: Wed, 12 Aug 2020 14:29:47 +0200 Subject: [PATCH] version 20200811 version 20200811, changes: - in the %generatePackage() macro the filesLocation is now positional parameter (the first one), - in the framework both `%loadPackage()` and %loadPackage(HELP)` command prints out the help information for the %loadPackage() macro, - the %ICEloadPackage() macro extended with version testing, - test for existence of %loadpackage macro added, - bug fix in lazyData generation - help section search improved - documentation updated. --- SPF/SPFinit.sas | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SPF/SPFinit.sas b/SPF/SPFinit.sas index 9753a46..23eed5d 100644 --- a/SPF/SPFinit.sas +++ b/SPF/SPFinit.sas @@ -2177,9 +2177,10 @@ data _null_; select; when (upcase(type) in ("DATA" "LAZYDATA")) fileshort2 = fileshort; - when (upcase(type) = "MACRO") fileshort2 = cats('%',fileshort,'()'); - when (upcase(type) =:"FUNCTION") fileshort2 = cats(fileshort,'()'); - when (upcase(type) = "FORMAT") fileshort2 = cats('$',fileshort); + when (upcase(type) = "MACRO") fileshort2 = cats('''%',fileshort,'()'''); + when (upcase(type) =:"FUNCTION") fileshort2 = cats("'",fileshort,"()'"); + when (upcase(type) =:"IMLMODULE") fileshort2 = cats("'",fileshort,"()'"); + when (upcase(type) = "FORMAT") fileshort2 = cats("'$",fileshort,".'"); otherwise fileshort2 = fileshort; end; strX = catx('/', folder, order, type, file, fileshort, fileshort2);