From 916984c1eb182dbdabf8f40007cdc1648bcd460e Mon Sep 17 00:00:00 2001 From: lihongji <3117313295@qq.com> Date: 星期二, 09 七月 2024 13:19:32 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev --- _Main/BL/Type_Test/StaticMethod_Test.qbl | 23 +++-------------------- 1 files changed, 3 insertions(+), 20 deletions(-) diff --git a/_Main/BL/Type_Test/StaticMethod_Test.qbl b/_Main/BL/Type_Test/StaticMethod_Test.qbl index 9d0c69d..cc86dfc 100644 --- a/_Main/BL/Type_Test/StaticMethod_Test.qbl +++ b/_Main/BL/Type_Test/StaticMethod_Test.qbl @@ -9,25 +9,8 @@ { TextBody: [* - // rislai Jun-9-2024 (created) - archive.ArchivePR( relnew,Name := "PR72.SP_20240604_VWED.xlsx",FilePath := "C:\Excel\PR72.SP_20240604_VWED.xlsx"); - - archive.ArchivePR( relnew,Name := "PR72.SP_20240605_VWED.xlsx",FilePath := "C:\Excel\PR72.SP_20240605_VWED.xlsx"); - - - //testTree := NamedValueTree::Create(); - // - //testTreeHandel := testTree.GetHandle( "test1" ); - //testTreeHandel2 := testTree.GetHandle( "test2" ); - // - //testTree.Root().AddChild( testTreeHandel,1 ); - // - //info( testTree.Root().Child( testTreeHandel ).GetValueAsNumber() ); - //try{ - // info( testTree.Root().Child( testTreeHandel2 ).GetValueAsNumber() ); - //}onerror{ - // testTree.Root().AddChild( testTreeHandel,2 ); - //} - //info( testTree.Root().Child( testTreeHandel ).GetValueAsNumber() ); + name := "2020/04/01"; + names := name.Tokenize( "/" ); + info( guard( Date::Construct( [Number]names.Element( 0 ),[Number]names.Element( 1 ),[Number]names.Element( 2 )),Date::MinDate() )); *] } -- Gitblit v1.9.3