Posted: 2007-01-28T21:51:49-07:00
IM does not provide methods to specify a random number.
Generate some random numbers, appropraite for the API and then use them.
For example in shell you can
x_pos=`perl -e 'print int(rand() * 750)`
some shells like BASH have some built in methods, and Perl and PHP has there own generation methods.
Generate some random numbers, appropraite for the API and then use them.
For example in shell you can
x_pos=`perl -e 'print int(rand() * 750)`
some shells like BASH have some built in methods, and Perl and PHP has there own generation methods.