Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Great Beginner
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Franck <franck.collineau@f...>
Subject: [Caml-list] Great Beginner
    Hello!
I have written the following code:
let somme(x,n)=
    for i=1 to i=n
        do
        x<-x+1
        done;;

caml tel me that i is not define.
What is the problem ?

Thanks

-- 
___________________________________
Franck Collineau
FTR&D DMI/TAM/TIL
4 rue du Clos Courtel
B.P. 59
35512 Cesson Sévigné Cedex
tél: 02 99 12 43 97
franck.collineau@francetelecom.com
___________________________________
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr