Re: Properly formatted large numbers

2010-02-10 Thread Michael Lew
Thanks Terry and Alex. Yes, I suspect that your suggestions would work, but both involve me working out how to trap clicks in the datagrid. That seems like more effort than I can put in at the moment: I've found datagrids to be a bit of a mystery so far and teaching starts here next week :-( This

Properly formatted large numbers

2010-02-09 Thread Michael Lew
Dear Listers I'm working on some statistical simulations and regularly get output numbers with anything from 1 to 7 digits. They are hard to read when they don't have the conventional commas separating the thousands and millions. I've written a simple function that does the comma formatting for me

Re: bad interaction between "random" and "word"?

2009-04-06 Thread Michael Lew
o > end repeat --outer > combine oHisto with return and tab > sort lines of oHisto numeric ascending by word 1 of each > put oHisto into fld "OutputFld" > end mouseUp > > Thanks, > Michael Lew Original post: > Hello, everyone, > I was working o

Array issue

2009-04-02 Thread Michael Lew
outer combine oHisto with return and tab sort lines of oHisto numeric ascending by word 1 of each put oHisto into fld "OutputFld" end mouseUp Thanks, Michael Lew ___ use-revolution mailing list use-revolution@lists.runrev.com Please vi

Re: Deleting a column ...

2009-02-16 Thread Michael Lew
Dear Bob You need to set the columndelimiter to comma for your script to work. The columndelimiter defaults to tab (sensibly, in my opinion). This works: on testFunction breakpoint set the columndelimiter to comma put "1,2,3" & return & "4,5,6" into myVar split myVar by column

Re: Gaussian pseudo-random numbers -- math issues

2008-10-22 Thread Michael Lew
Dear Tim, I have an extensive library of statistical maths routines. This handler and function will get you going with your problem: on mouseUp pMouseBtnNo put fld "MeanFld" into tmean put fld "stdevFld" into tstdev put fld "sample sizeFld" into n put fastNormalDeviates(n) into td

Re: Pricing / entry cost for this tool

2005-11-26 Thread Michael Lew
On 27/11/2005, at 9:13 AM, [EMAIL PROTECTED] wrote: I have a couple of educational titles being sold by my University that cost the same number of Australian dollars to Harvard as they do to universities in Africa. It doesn't seem fair. Perhaps software prices could be adjusted for the avera

Re: Pricing / entry cost for this tool

2005-11-26 Thread Michael Lew
For some time I have been toying with the idea that software should be sold on an income-weighted pricing scheme. If Richard can afford to pay more for Rev than Andre, it is in large part because he lives and earns in USA rather than Brazil. I have a couple of educational titles being sold