VB: Property Get/Let Tree(Name As ByVal String ) As TreeNode
C++: TreeNode Tree(LPCSTR Name )
C#: TreeNode Tree(string Name )
import OriginExt as O app = O.Application(); app.Visible = app.MAINWND_SHOW pageName = app.CreatePage(app.OPT_WORKSHEET) tree = app.GetEmptyTree() tree.PutValue("testNumber", 123) tree.PutValue("testString", "Hello") print(tree.GetValue("testNumber")) print(tree.GetValue("testString")) app.PutTree(pageName, tree) treeOut = app.GetTree(pageName) print(treeOut.GetValue("testNumber")) print(treeOut.GetValue("testString"))
8.0SR2