From: Robert J. B. <ru...@bb...> - 2004-11-18 23:23:32
|
This lef to my trying the following test: > (- 0777 777) -266 Is it required that numbers starting with 0 be treated as octal? --Rusty Ken Anderson wrote: >Thanks, that helps a lot. > >At 03:36 PM 11/18/2004 -0500, Geoffrey Knauth wrote: > > >>On Nov 18, 2004, at 14:25, Ken Anderson wrote: >> >> >>>Rusty found this, it looks like we have another problem with numbers that start with 0. >>> >>> >>The problem appears to be with numbers starting with zero that have non-octal digits: >> >>JScheme 7.1 (10/16/04 5:52 AM) http://jscheme.sourceforge.net >> >> >>>01 >>> >>> >>1 >> >> >>>02 >>> >>> >>2 >> >> >>>03 >>> >>> >>3 >> >> >>>04 >>> >>> >>4 >> >> >>>05 >>> >>> >>5 >> >> >>>06 >>> >>> >>6 >> >> >>>07 >>> >>> >>7 >> >> >>>08 >>> >>> >>SchemeException: ERROR: undefined variable "08" >> at jsint.E.error(E.java:14) >> at jsint.E.error(E.java:19) >> at jsint.DynamicVariable.getDynamicValue(DynamicVariable.java:27) >> at jsint.Evaluator.execute(Evaluator.java:345) >> at jsint.Evaluator.eval(Evaluator.java:272) >> at jsint.Evaluator.eval(Evaluator.java:261) >> at jsint.Evaluator.readEvalWriteLoop(Evaluator.java:120) >> at jsint.Evaluator.runJscheme(Evaluator.java:106) >> at jsint.Scheme.runJscheme(Scheme.java:169) >> at jsint.Scheme.defaultMain(Scheme.java:133) >> at jsint.Scheme.main(Scheme.java:108) >> at jscheme.REPL.main(REPL.java:152) >> >> >>Geoffrey >>-- >>Geoffrey S. Knauth | http://knauth.org/gsk >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: InterSystems CACHE >>FREE OODBMS DOWNLOAD - A multidimensional database that combines >>robust object and relational technologies, making it a perfect match >>for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>_______________________________________________ >>Jscheme-user mailing list >>Jsc...@li... >>https://lists.sourceforge.net/lists/listinfo/jscheme-user >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by: InterSystems CACHE >FREE OODBMS DOWNLOAD - A multidimensional database that combines >robust object and relational technologies, making it a perfect match >for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >_______________________________________________ >Jscheme-user mailing list >Jsc...@li... >https://lists.sourceforge.net/lists/listinfo/jscheme-user > > > > |