| | |
| | | { |
| | | 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() )); |
| | | *] |
| | | } |