Listing of program r37_sampcalc.cgi
#! /usr/local/bin/regina
/* A Simple calculator : process data of p36_sampcalc */
/*-----------------------------------------------------------------*/
call setdll /* loads the HHNS shared library */
what = "" /* in case of an empty expression */
/* the following 'CgiInit' call will : */
/* a) make a valid HTML header (Title, body) */
/* b) set up the 'what' variable sent by p36_sampcalc */
/*-----------------------------------------------------------------*/
call CgiInit "TITLE='A simple Calculator' BGCOLOR=FFFF00"
if what = "" then
else
call cgiEnd
return 0
Back Home