Comments (2)
Comment author: administrator
Bug in user code (Caml ptr stored in finalized block)
from ocaml.
Comment author: administrator
Merci pour l'aide que vous m'avez apporté .
Effectivement cela fonctionne et j'ai remarqué une chose aussi c'est qu'il vaut mieux faire :
dessiner (le dessin);;
while true do () done ;;
comme vous dites
plutôt que
while true do (dessiner (le dessin)) done ;;
parce que ainsi il redessine à chaque fois et ça se voit .
Merci encore et bonne année.
Sincèrement .Frédéric .
Damien Doligez [email protected] wrote:
Full_Name:
Version: ocaml 3.08.2
Soit le programme suivant qui ouvre une fenetre qui s'appelle fenetre.ml
open_graph"";;
J'exécute le fichier .exe
./ocamlrun fenetre.exe(une fenetre souvre et disparaît aussitôt)
La fenetre disparait quand le programme ferme la fenetre explicitement
avec close_graph, ou bien quand le programme se termine.
Que puis-je faire pour que la fenetre reste ?
Ecrire un programme qui ne termine pas immediatement:
open_graph "";;
while true do () done;;
-- Damien
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail
> Full_Name:
> Version: ocaml 3.08.2
> Soit le programme suivant qui ouvre une fenetre qui s'appelle fenetre.ml
> open_graph"";;
> J'exécute le fichier .exe
> ./ocamlrun fenetre.exe(une fenetre souvre et disparaît aussitôt)
La fenetre disparait quand le programme ferme la fenetre explicitement
avec close_graph, ou bien quand le programme se termine.
> Que puis-je faire pour que la fenetre reste ?
Ecrire un programme qui ne termine pas immediatement:
open_graph "";;
while true do () done;;
-- Damien
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail ---------------- ----------------
from ocaml.
Related Issues (20)
- Annoying message HOT 2
- Module inclusion type errors have odd ordering of "In module `Foo`" lines
- 'ocamlc -output-complete-exe' is not compatible with a MSVC toolchain HOT 2
- Domain.join is suspiciously slow when using systhreads HOT 3
- Libraries (.a) are not included in the executable file (.exe) when needed by Ctypes foreign declarations HOT 1
- Tail-mod-cons produces erroneous results when the TMC call is inside an exception handler. HOT 4
- Invalid_argument("List.iter2") for ill-aritied types in recursive modules. HOT 3
- Typing does not respect the order of labeled arguments HOT 1
- Odd toplevel printing for lists with local opens HOT 2
- Incorrect annotations lead to `Fatal error: exception Ctype.Escape(_)` on 5.1.1 HOT 11
- Regression around warning 53 (misplaced-attribute) and [@@ocaml.inline always]. HOT 5
- MinGW-w64 Port Compilation from Source make doesn't work HOT 5
- MacOS: bad install names for shared libs (libasmrun_shared.so etc.) HOT 5
- doc bug: ocamlopt doesn't know what to do with *.so argument
- 5.2.0~alpha1: Issues with (x : Subtype.t list :> Type.t list) in presence of multiple destructive substitutions HOT 7
- `cmo` files have different digest on different platforms and ocaml 5.1.1 variant option HOT 2
- 5.2.0~alpha1: ocamlc -pack changed the expected naming convention for the cmi files HOT 3
- Improve type error explanation for partially applied functor HOT 3
- TMC on 5.2 generates unexpected lambda for Melange HOT 8
- Missed ignored partial application due to ignored named binding HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocaml.