Path: news.daimi.aau.dk!news.net.uni-c.dk!howland.erols.net!rill.news.pipex.net!pipex!wuff.mayn.de!Informatik.Uni-Dortmund.DE!news From: Sascha Kimmel Newsgroups: comp.lang.beta Subject: Calling BETA programs from within HTML documents Date: Tue, 30 Jun 1998 09:34:07 +0200 Organization: University of Dortmund, Germany Lines: 50 Message-ID: <359894EF.FCBD45C@salami4.cs.uni-dortmund.de> Reply-To: webmaster@tricos.com NNTP-Posting-Host: calzone1.informatik.uni-dortmund.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mozilla 4.04 [en] (X11; I; SunOS 5.5.1 sun4m) Xref: news.daimi.aau.dk comp.lang.beta:11641 Hello! I want to use BETA instead of Perl for evaluating forms from within HTML documents. The HTML document looks as follows: BETA Commandline Test
The BETA program looks as follows: ORIGIN '~beta/basiclib/current/betaenv'; --PROGRAM: descriptor-- (# commandline:^text; do (* 'Number of arguments: '-> putText; noOfArguments->putInt; newLine; *) (for i:noOfArguments repeat i->arguments->putLine; for); #) When I call this program directly everything works as it should. But when I try to execute it using the form on the HTML page I get the following in my browser: ELFalhallaOnProcessStop²`ô, ´`? ?Ãàâ. ??ö öàöà²àЬ î?î.`ÿõX?¿ÿÚô????¢ ?¤? ??¡è?ÐbT?Ð 8° @¦?ü?¦Ð#ì@??ù@s~?~ LÖ£*: ¤@~°? ,?- Point division by zeroconverted integer to %d ist constructionream#ed.VNVC: (GNU) 2.7.2.1 Does anyone know how to solve the problem? Regards, Sascha Kimmel