English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
"Hello web" please
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-07-08 (15:05)
From: Jonathan Hayward http://JonathansCorner.com <christos.jonathan.hayward@g...>
Subject: "Hello web" please
I'm trying to figure out how to use CamlGI with OCaml, and am for the moment
working on hello world basics: for instance, how do I get ocaml to use a
specific library?

Could you send me a "Hello web" OCaml script that uses CamlGI and prints a
webpage saying only "Yes", "No", "Other" or "Undefined" depending on whether
the CGI variable "foo" has value 1, 0, some other defined value, or is
undefined (never mind about multiple values)?

If I see the syntax for that, I think I will be in a position to start

++ Jonathan Hayward, jonathan.hayward@pobox.com
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com

** If you'd like a Google Mail (gmail.com) account, please tell me!