#!/bin/ch /* Copyright (c) 2001 by SoftIntegration, Inc. All Rights Reserved */ #include int main() { class CResponse Response; class CRequest Request; chstrarray value; int total; int i; Response.begin(); Response.title("Test of Request.getForms"); printf("

The Result of Test of Request.getForms


\n "); //get names total = Request.getForms("name", value); printf("name is : \n"); for (i = 0; i < total; i++) if (value[i] != NULL) printf("%s
\n", value[i]); if (total ==0) printf("NULL"); printf("

\n"); //get favorites total = Request.getForms("flavor", value); printf("number of selected flavors is : %d
\n", total); printf("flavor is :
\n"); for (i = 0; i < total; i++) if (value[i] != NULL) printf("%s
\n", value[i]); Response.end(); }