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

DataInfo()

This is an inbuilt function function provided by PPWIZARD.

This function can be used to determine the existance of or return information about any data structures created using the #data command.

The function takes 1 parameters as follows:

  1. The Query. This is exactly the same as that described for the "<?Data>" symbol (after the ":").

EXAMPLE

@@Data = "FRED"

;--- Make sure the DATA has 2 columns ---
if  DataInfo(@@Data) = '' then
   error('CustomActionData "' || @@Data || '" does not exist!');
@@ColCnt = DataInfo(@@Data || '.*.?')
if  @@ColCnt <> 2 & @@ColCnt <> 0 then
   error('CustomActionData "' || @@Data || '" should have had 2 columns, not ' || @@ColCnt || '!')


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

[Top][Contents][Search][Prev]: ConsoleCount()[Next]: DataGet()


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