[gradsusr] Random number generator?
Stephen McMillan
smcmillan at planalytics.com
Mon Sep 17 09:16:37 EDT 2012
Matt,
Thanks for the suggestion, but could not get it to work. Perhaps because I
use Windows? However, I did learn that I can use "!echo $RANDOM >
[textfile]" then have my script read the output file.
Stephen
On Fri, Sep 14, 2012 at 8:03 PM, Matt Alonso <matt.alonso at gmail.com> wrote:
> Hi Stephen,
>
> I've never used grads in windows but can you just write a script to
> capture output from the command line? From the windows cmd prompt, "echo
> %random%" will output and random # to STDOUT.
>
> Good luck
>
> On Fri, Sep 14, 2012 at 4:33 PM, Stephen McMillan <
> smcmillan at planalytics.com> wrote:
>
>> Hello,
>>
>> I searched the User archive and Documentation Index, but could not find
>> the answer to my question: Does GrADS have a function or extension to
>> easily generate a random number, or can anyone share a script that would
>> generate it?
>>
>> I'm using version 2.0.1.oga.1 on a Windows 7.
>>
>> Stephen Mc
>>
>> ***************************************************
>> The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.
>>
>> If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
>> ***************************************************
>>
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
***************************************************
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
***************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120917/8cc7a883/attachment-0003.html
More information about the gradsusr
mailing list