https://wiki.secondlife.com/w/index.php?title=LlListRandomize/fr&feed=atom&action=historyLlListRandomize/fr - Revision history2024-03-29T00:26:43ZRevision history for this page on the wikiMediaWiki 1.36.1https://wiki.secondlife.com/w/index.php?title=LlListRandomize/fr&diff=59639&oldid=prevGally Young: Localized to french2008-03-21T18:51:07Z<p>Localized to french</p>
<p><b>New page</b></p><div>{{LSL_Function/fr<br />
|sort=ListRandomize|func=llListRandomize<br />
|func_id=197|func_sleep=0.0|func_energy=10.0<br />
|p1_type=list<br />
|p1_name=src<br />
|p1_desc=list dont les éléments sont à permuter.<br />
|p2_type=integer<br />
|p2_name=pas<br />
|p2_desc=Combien d’élément à laisser entre deux éléments triés aléatoirement.<br />
|return_type=list<br />
|return_text=correspondant à '''src''' dont des éléments ont été aléatoirement permutés.<br />
|spec=<br />
Quand vous souhaitez permuter la position de tous les éléments, mettez un pas de 1.<br />
<br />
Si le pas n’est pas un multiple de la longeur du list, le list '''src''' est renvoyé, en d’autres termes, ''"src.length()%pas"'' doit être 0.<br />
<br />
L’algorithme sélectionne un élément tous les ''src.length()/pas'' élements, puis inverse la position de chaque élément sélectionné.<br />
|caveats=<br />
|examples=<br />
<pre><br />
list dice = ["2", "4", "1", "6", "3", "5"];<br />
list shuffled = llListRandomize(dice, 1);<br />
llOwnerSay(llList2CSV(shuffled));<br />
</pre><br />
|constants<br />
|helpers<br />
|also_header<br />
|also_functions=<br />
{{LSL DefineRow||[[llListSort/fr|llListSort]]|Trie un list}}<br />
{{LSL DefineRow||[[llFrand/fr|llFrand]]|Génère un nombre aléatoire}}<br />
|also_tests<br />
|also_articles<br />
|also_footer<br />
|notes<br />
|mode<br />
|deprecated<br />
|permission<br />
|negative_index<br />
|cat1=List/fr<br />
|cat2<br />
|cat3<br />
|cat4<br />
|location=lsa_randomize(): 'linden\indra\lscript\lscript_library\lscript_alloc.cpp'<br />
}}</div>Gally Young