From: henry@kelenn-gw.univ-brest.fr (licence informatique)
To: caml-list@pauillac.inria.fr
Subject: Utilisation de
Date: Thu, 4 Jul 1996 17:17:37 +0200 (MET DST) [thread overview]
Message-ID: <199607041517.RAA02101@kelenn-gw.univ-brest.fr> (raw)
Bonjour
J'utilise CamlTk 4.0 (version mai 96)
Je souhaite utiliser une fonction retournant une valeur avec l'option Command
dans un menu;
par exemple :
menu__add_command m [Label "Essai"; Command (let t = f(n))];
Il s'avere que cette instruction ne fonctionne pas car, l'option Command accepte
que les fonctions de type unit -> unit;
Est-il possible de resoudre ce probleme sans utiliser des variables globales mutables ?
Merci.
-- David HENRY --- Licence Informatique --
----------------------------- UBO BREST --
next reply other threads:[~1996-07-05 16:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-04 15:17 licence informatique [this message]
1996-07-05 17:44 ` Francois Rouaix
1996-07-05 17:54 ` Jun P. Furuse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199607041517.RAA02101@kelenn-gw.univ-brest.fr \
--to=henry@kelenn-gw.univ-brest.fr \
--cc=caml-list@pauillac.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox