WebSpeed
Developer’s Guide


Creating Definitions

The following shows the Definitions section of the example Web object w-custinf.w. The boldface text shows what is added to the default provided by WebSpeed:

w-cstinf.w 
/*------------------------------------------------------------------------

  File: w-cstinf.w

  Description: Find and update basic customer information in Sports2000.

  Input Parameters:
      <none>

  Output Parameters:
      <none>

  Author: 

  Created: 

------------------------------------------------------------------------*/
/*           This .W file was created with AppBuilder.           */
/*----------------------------------------------------------------------*/

/* ***************************  Definitions  ************************** */

/* Preprocessor Definitions ---                                         */

/* Parameters Definitions ---                                           */

/* Local Variable Definitions ---                                       */

DEFINE VARIABLE vButton AS CHARACTER NO-UNDO. /* Submit button value */ 

The initial comments block provides optional documentation on the entire Web object, including a description of any input and output parameters defined for it.

NOTE: You can specify input and output parameters only for Web objects that you call directly from other Web objects, using the RUN statement. For more information, see the "Running Procedures and Web Objects" section in SpeedScript."

You can add any parameter, variable, or preprocessor definitions that you need for your Web object in this section.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095