Pick random element: Difference between revisions
Content added Content deleted
(→Insitux: inclusion) |
(FutureBasic example added) |
||
Line 782: | Line 782: | ||
May |
May |
||
</pre> |
</pre> |
||
=={{header|FutureBasic}}== |
|||
<syntaxhighlight lang="futurebasic"> |
|||
random |
|||
mda(0) = {0,1,2,3,4,5,6,7,8,9} |
|||
print mda(rnd(10)-1) |
|||
HandleEvents |
|||
</syntaxhighlight> |
|||
=={{header|GAP}}== |
=={{header|GAP}}== |