pkmnfrk 2010-04-06 21:35:49 -0700 (Tue, 06 Apr 2010) 1036 Added slightly more comprehensive versions of the Save/LoadProp functions in slices.bas to reload.bas. Also added tests to reloadtest.bas to verify that they work.
If someone has a better name for them, feel free to rename 'em: Declare Function SetChildNode Overload (parent as NodePtr, n as string) as NodePtr Declare Function SetChildNode(parent as NodePtr, n as string, val as longint) as NodePtr Declare Function SetChildNode(parent as NodePtr, n as string, val as double) as NodePtr Declare Function SetChildNode(parent as NodePtr, n as string, val as string) as NodePtr Declare Function GetChildNodeInt(parent as NodePtr, n as string, d as longint = 0) as longint Declare Function GetChildNodeFloat(parent as NodePtr, n as string, d as double = 0.0) as Double Declare Function GetChildNodeStr(parent as NodePtr, n as string, d as string = "") as string Declare Function GetChildNodeBool(parent as NodePtr, n as string, d as integer = 0) as integer Declare Function GetChildNodeExists(parent as NodePtr, n as string) as integer --- U wip/reload.bas U wip/reload.bi U wip/reloadtest.bas _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
