From: Thomas Preymesser Date: 2009-03-04T22:05:10+09:00 Subject: Re: fixnum problem plz help 2009/3/4 William James : > Pascal J. Bourguignon wrote: > >> This is because for all we know, ask("") is returning "2" and 365 >> times "2" is a string containing 365 2s.  At least in such a inferior >> language as Ruby. >> >> >> >> In more strongly typed programming languages such as Common Lisp, > > Typo.  Should be Commune Lisp. > >> you'd get an error: >> >> C/USER[929]> (* "2" 365) >> >> *** - *: "2" is not a number > > Commune Lisp: >  (* "2" 9) >  *** ERROR!!! *** > > Awk: >  "2" * 9 >  18 > > Ruby: >  "2" * 9 >  "222222222" C: printf("%d\n",'2'*9); 450 -- Thomas Preymesser thopre@gmail.com http://thopre.googlepages.com/ http://thopre.wordpress.com/ Sent from: Berlin Berlin Deutschland.