\BuildDeckFromFile 

Purpose:

Searches through the application layers for a named .WML file in the WAP subdirectory.  The content of the file is used as the format string for a SWrite call, with the other parameters to the module used as the parameters to the SWrite.

Parameters:

DeckName              Name of the template file (without any extension) to use.  The file extension .WML is appended to the name and the file is searched for in the WAP subdirectory of each layer of the application.

The template will normally consist of wml-formatted static text interspersed with placeholders for custom information. The custom information is handed to the template by the parameters to this function.

Example

\BuildDeckFromFile(“Welcome”, “Info 1”, “Info 2”, “Info 3”);

This will hand three text strings to the wml template file, Welcome.wml.