#!/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(L"Test of Request.getForms"); printf("

The Result of Test of Request.getForms


\n "); //get name total = Request.getForms(L"name", value); printf("name is : \n"); for (i = 0; i < total; i++) if (value[i] != NULL) { fputws(value[i], stdout); printf("
\n"); } if (total ==0) printf("NULL"); printf("

\n"); //get favorites total = Request.getForms(L"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) { fputws(value[i], stdout); printf("
\n"); } Response.end(); }