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
[Caml-list] getting the value of the first expression
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-10-18 (13:02)
From: Markus Mottl <markus@o...>
Subject: Re: [Caml-list] getting the value of the first expression
On Thu, 18 Oct 2001, Rafael 'Dido' Sevilla wrote:
> emit_parm "ldc" offset;
> emit "ind"

If you want to return the result of "emit_parm", just bind it:

  let res = emit_parm "ldc" offset in
  emit "ind";

Markus Mottl

Markus Mottl                                   
Austrian Research Institute
for Artificial Intelligence        
Bug reports:  FAQ:
To unsubscribe, mail  Archives: