PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
![]() | ![]() | ![]() | ![]() | ![]() |
ExtnInfoGet() |
This is an inbuilt function function provided by PPWIZARD.
This function allows you to obtain any file extension information you defined with the /ExtnInfo switch.
This routine takes these parameters:
Example |
You may have defined the following to PPWIZARD:
'/ExtnInfo:*:user1=@Value 1@,user2=@Value 2@' '/ExtnInfo:VBS:user1=@VBS value 1@,user2=@VBS Value 2@'
In the above "'" was used to handle spaces, this is assuming the items are actually on PPWIZARD's command line as you would not need to do this in a project file.
Then this allows you to access the values:
#DefineRexx '' call say 'VBS user1 = ' || ExtnInfoGet("VBS", "user1", "*def*") call say 'VBS user2 = ' || ExtnInfoGet("VBS", "user2", "*def*") call say 'XYZ user2 = ' || ExtnInfoGet("XYZ", "user2", "*def*") call say 'XYZ unknown = ' || ExtnInfoGet("XYZ", "unknown", "*def*") #DefineRexx