<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18975"></HEAD>
<BODY>
<DIV><SPAN class=732391609-10122010><FONT size=2 face=Arial>Dear 
all,</FONT></SPAN></DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 face=Arial>This is a strange 
idea (but usefull one) : I've a list a X point and I would like to select 3 of 
them in a random way (of course a point can be choose only 
ounce)  </FONT></SPAN></DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 face=Arial>I can use the 
following code </FONT></SPAN></DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 
face=Arial>round(X*rand(1,3))</FONT></SPAN></DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 face=Arial>neverthless 
:</FONT></SPAN></DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 face=Arial>- I've to loop until 
the 3 integer are different</FONT></SPAN></DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 face=Arial>- if X becomes small 
it's diffucult to have 3 different values</FONT></SPAN></DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 face=Arial>I'm sure these a 
simplier way to generate these 3 integers ... can I have an advice 
?</FONT></SPAN></DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 
face=Arial>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=732391609-10122010><FONT size=2 
face=Arial>Paul</FONT></SPAN></DIV></BODY></HTML>

<pre>--------------------------------------------------------------------------------


Le présent mail et ses pièces jointes sont confidentiels et destinés à la personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de votre système. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email.