Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 <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,
** 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

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