[Ohrrpgce] SVN: james/2475 New plotscripting command "number from string", which converts text into

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Wed Jan 14 10:46:33 PST 2009


james
2009-01-14 10:46:33 -0800 (Wed, 14 Jan 2009)
564
New plotscripting command "number from string", which converts text into a number and returns it

Also cleaned up str2int() implementation and moved it to common.bas
str2int now returns a default value if it encounters a string that contains non-numeric chars. The old 
behavior in that case was to behave insanely :)

I have double-checked that the new behavior works with all existing calls to str2int()

str2int() can be now be considered a "strict" alternative to the built-in VALINT
 (which tolerates trailing garbage and supports octal and hexidecmal input)
---
U   wip/common.bas
U   wip/common.bi
U   wip/docs/plotdict.xml
U   wip/docs/plotdictionary.html
U   wip/menus.bas
U   wip/plotscr.hsd
U   wip/subs.bas
U   wip/subs2.bas
U   wip/subs3.bas
U   wip/whatsnew.txt
U   wip/yetmore.bas
U   wip/yetmore2.bas
U   wip/yetmore2.bi



More information about the Ohrrpgce mailing list