PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: GetQuotedRest()[Next]: HtmlGeneratorTags()
\ -> Rexx -> Inbuilt PPWIZARD Functions -> GetQuotedText()

GetQuotedText()

This is an inbuilt function function provided by PPWIZARD.

Most ppwizard commands take "quoted parameters". This rexx function allows you to make use of this code.

The function takes these parameters:

  1. The string which is expected to contain the quoted value.

  2. A string containing the name of a variable which is to contain the "rest" of the string from the first parameter. If this parameter is not passed then the whole of the first parameter must have contained the quoted value or the function aborts.

  3. Pass "" if required. I will document later.

  4. An optional value which indicates what you are "doing", displayed in error messages.

The function returns the quoted string (without quotes) or dies.

Example

;--- We expect EXACTLY 3 parameters ---
@@P1 = GetQuotedText(substr(@@Line,2), "Rest");
@@P2 = GetQuotedText(Rest, "Rest");
@@P3 = GetQuotedText(Rest);


email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: GetQuotedRest()[Next]: HtmlGeneratorTags()


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Saturday May 28 2022 at 2:55pm