Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tdcode
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangguangchao
tdcode
Commits
3bbfa3f4
Commit
3bbfa3f4
authored
Nov 15, 2021
by
wangguangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e-z If全局修改
parent
eae4ce20
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
35 additions
and
35 deletions
+35
-35
LETAME.TR2
frame/LETAME.TR2
+1
-1
LETNOT.TR2
frame/LETNOT.TR2
+2
-2
LETP.FR2
frame/LETP.FR2
+1
-1
LITAME.TR2
frame/LITAME.TR2
+1
-1
LITDLA.TR2
frame/LITDLA.TR2
+1
-1
LTTOPN.TR2
frame/LTTOPN.TR2
+2
-2
ORDREL.TR2
frame/ORDREL.TR2
+1
-1
SYSTBL.TR0
frame/SYSTBL.TR0
+8
-8
evtp.fr2
frame/evtp.fr2
+3
-3
letp1.fr2
frame/letp1.fr2
+1
-1
litchg.tr2
frame/litchg.tr2
+1
-1
litpop.tr2
frame/litpop.tr2
+2
-2
rmtp.fr2
frame/rmtp.fr2
+1
-1
srop.fr2
frame/srop.fr2
+1
-1
syssyn.tr0
frame/syssyn.tr0
+6
-6
trnism.fr5
frame/trnism.fr5
+1
-1
trtopn.tr2
frame/trtopn.tr2
+2
-2
No files found.
frame/LETAME.TR2
View file @
3bbfa3f4
...
...
@@ -10,7 +10,7 @@ Version 50 TradeDesign®
20070319163359 RM SourceLine LETAMEP.initnartxt
Rule -1
SourceLine DEFAULT LETAMEP\AMEDAT
SourceLine
I
f IsEmpty ( LETAMEP\AMEDAT) then
SourceLine
i
f IsEmpty ( LETAMEP\AMEDAT) then
SourceLine = Today
SourceLine endif
Rule -1
...
...
frame/LETNOT.TR2
View file @
3bbfa3f4
...
...
@@ -61,12 +61,12 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT SHPDEF (LEDGRP\REC\SHPDAT , LEDGRP\BLK\SHPPER )
SourceLine
I
f not IsEmpty( LEDGRP\REC\SHPDAT ) then
SourceLine
i
f not IsEmpty( LEDGRP\REC\SHPDAT ) then
SourceLine Disable ( LEDGRP\BLK\SHPPER )
SourceLine else
SourceLine Enable ( LEDGRP\BLK\SHPPER )
SourceLine endif
SourceLine
I
f not IsEmpty( LEDGRP\BLK\SHPPER ) then
SourceLine
i
f not IsEmpty( LEDGRP\BLK\SHPPER ) then
SourceLine Disable ( LEDGRP\REC\SHPDAT )
SourceLine else
SourceLine Enable ( LEDGRP\REC\SHPDAT )
...
...
frame/LETP.FR2
View file @
3bbfa3f4
...
...
@@ -41,7 +41,7 @@ Version 50 TradeDesign®
20050830 AN SourceLine
Rule -1
SourceLine Default OVWP
SourceLine
I
f PANSTA = PanStaEdit then
SourceLine
i
f PANSTA = PanStaEdit then
SourceLine Enable ( OVWP )
SourceLine else
SourceLine Disable ( OVWP )
...
...
frame/LITAME.TR2
View file @
3bbfa3f4
...
...
@@ -105,7 +105,7 @@ Version 50 TradeDesign®
19981112 DOS SourceLine endif
Rule -1
SourceLine Check LIDGRP\REC\AVBBY
SourceLine
I
f IsEmpty ( LIDGRP\REC\AVBBY ) then
SourceLine
i
f IsEmpty ( LIDGRP\REC\AVBBY ) then
SourceLine ErrorMandatory
SourceLine endif
Rule -1
...
...
frame/LITDLA.TR2
View file @
3bbfa3f4
...
...
@@ -21,7 +21,7 @@ Version 50 TradeDesign®
19981112 DOS SourceLine endif
Rule -1
SourceLine Check LIDGRP\REC\AVBBY
SourceLine
I
f IsEmpty ( LIDGRP\REC\AVBBY ) then
SourceLine
i
f IsEmpty ( LIDGRP\REC\AVBBY ) then
SourceLine ErrorMandatory
SourceLine endif
Rule -1
...
...
frame/LTTOPN.TR2
View file @
3bbfa3f4
...
...
@@ -203,12 +203,12 @@ Version 50 TradeDesign®
19991202 RAL SourceLine print SWTPrtEndTag( "SWT" ) ;
Rule -1
SourceLine CHECK LTDGRP\REC\EXPPLC
SourceLine
I
f IsEmpty( LTDGRP\REC\EXPPLC) then
SourceLine
i
f IsEmpty( LTDGRP\REC\EXPPLC) then
SourceLine ErrorMandatory
SourceLine endif
Rule -1
SourceLine CHECK LTDGRP\CBS\NOM1\CUR
SourceLine
I
f IsEmpty( LTDGRP\CBS\NOM1\CUR) then
SourceLine
i
f IsEmpty( LTDGRP\CBS\NOM1\CUR) then
SourceLine ErrorMandatory
SourceLine endif
Rule -1
...
...
frame/ORDREL.TR2
View file @
3bbfa3f4
...
...
@@ -45,7 +45,7 @@ Version 50 TradeDesign®
20080805151836 PET SourceLine $Sql = $Sql + $Con + " STA = " + SqlLit( STA )
20080805151837 PET SourceLine endif
20080805151841 PET SourceLine
20080811162714 PET SourceLine
I
f DELFLG = "X" then
20080811162714 PET SourceLine
i
f DELFLG = "X" then
20080805151843 PET SourceLine $Sql = $Sql + $Con + " DELFLG = 'X' "
20080811151539 PET SourceLine endif}
20080730104037 PET SourceLine #$Sql = $Con + "STA in (\'R0000105
...
...
frame/SYSTBL.TR0
View file @
3bbfa3f4
...
...
@@ -148,7 +148,7 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT SAV
SourceLine
I
f STA = "A" then
SourceLine
i
f STA = "A" then
SourceLine Enable
SourceLine Visible
SourceLine else
...
...
@@ -423,7 +423,7 @@ Version 50 TradeDesign®
20020917 HB SourceLine ResetCache
Rule -1
SourceLine DEFAULT UPD
SourceLine
I
f STA = "E" then
SourceLine
i
f STA = "E" then
SourceLine Enable
SourceLine Visible
SourceLine else
...
...
@@ -571,10 +571,10 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT EXP
SourceLine
I
f STA = "I" then
SourceLine
i
f STA = "I" then
SourceLine Visible
SourceLine
I
f Isdesigner then
SourceLine
I
f IsEmpty( TBL ) then
SourceLine
i
f Isdesigner then
SourceLine
i
f IsEmpty( TBL ) then
SourceLine Disable
SourceLine else
SourceLine Enable
...
...
@@ -636,14 +636,14 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT STH\CODLEN
SourceLine
I
f STA = "I" Or STA = "D" then
SourceLine
i
f STA = "I" Or STA = "D" then
SourceLine Disable
SourceLine else
SourceLine Enable
SourceLine endif
Rule -1
SourceLine DEFAULT STH\TXTLEN
SourceLine
I
f STA = "I" Or STA = "D" then
SourceLine
i
f STA = "I" Or STA = "D" then
SourceLine Disable
SourceLine else
SourceLine Enable
...
...
@@ -711,7 +711,7 @@ Version 50 TradeDesign®
20040130 JO SourceLine endif
Rule -1
SourceLine DEFAULT STH\SRT
SourceLine
I
f STA = "I" Or STA = "D" then
SourceLine
i
f STA = "I" Or STA = "D" then
SourceLine Disable
SourceLine else
SourceLine Enable
...
...
frame/evtp.fr2
View file @
3bbfa3f4
...
...
@@ -8,14 +8,14 @@ Version 50 TradeDesign®
Rule -1
SourceLine Default EVTP0
SourceLine # Global settings of panel properties
SourceLine
I
f PANSTA = PanStaAdd Or PANSTA = PanStaEdit then
SourceLine
i
f PANSTA = PanStaAdd Or PANSTA = PanStaEdit then
SourceLine Enable( EVTP0 )
SourceLine else
SourceLine Disable( EVTP0 )
SourceLine endif
SourceLine # access selection button and Drag&Drop receiver for primary entry
SourceLine # (and HOLPTYGET\SDAMOD\DADRCV because its used zu select)
SourceLine
I
f PANSTA = PanStaInquiry Or PANSTA = PanStaAdd then
SourceLine
i
f PANSTA = PanStaInquiry Or PANSTA = PanStaAdd then
SourceLine Enable( RECGET\SDAMOD\SEAINF )
SourceLine Enable( RECGET\SDAMOD\DADRCV )
SourceLine Setvalues( RECGET\SDAMOD\DADRCV, "EVT" )
...
...
@@ -25,7 +25,7 @@ Version 50 TradeDesign®
SourceLine Setvalues( RECGET\SDAMOD\DADRCV, "" )
SourceLine endif
SourceLine # Drag&Drop sender for primary entry
SourceLine
I
f PANSTA = PanStaInquiry Or PANSTA = PanStaDelete Or PANSTA = PanStaShow then
SourceLine
i
f PANSTA = PanStaInquiry Or PANSTA = PanStaDelete Or PANSTA = PanStaShow then
SourceLine Enable( RECGET\SDAMOD\DADSND )
SourceLine else
SourceLine Disable( RECGET\SDAMOD\DADSND )
...
...
frame/letp1.fr2
View file @
3bbfa3f4
...
...
@@ -24,7 +24,7 @@ Version 50 TradeDesign®
SourceLine Disable
Rule -1
SourceLine Default OVWP
SourceLine
I
f PANSTA = PanStaEdit then
SourceLine
i
f PANSTA = PanStaEdit then
SourceLine Enable ( OVWP )
SourceLine else
SourceLine Disable ( OVWP )
...
...
frame/litchg.tr2
View file @
3bbfa3f4
...
...
@@ -9,7 +9,7 @@ Version 50 TradeDesign®
20040416 MM SourceLine TRNMOD.TroLockExistingContract( LIDGRP )
Rule -1
SourceLine Check LIDGRP\REC\AVBBY
SourceLine
I
f IsEmpty ( LIDGRP\REC\AVBBY ) then
SourceLine
i
f IsEmpty ( LIDGRP\REC\AVBBY ) then
SourceLine ErrorMandatory
SourceLine endif
Rule -1
...
...
frame/litpop.tr2
View file @
3bbfa3f4
...
...
@@ -115,12 +115,12 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT SHPDEF ( LIDGRP\REC\SHPDAT , LIDGRP\BLK\SHPPER )
SourceLine
I
f not IsEmpty( LIDGRP\REC\SHPDAT ) then
SourceLine
i
f not IsEmpty( LIDGRP\REC\SHPDAT ) then
SourceLine Disable ( LIDGRP\BLK\SHPPER )
SourceLine else
SourceLine Enable ( LIDGRP\BLK\SHPPER )
SourceLine endif
SourceLine
I
f not IsEmpty( LIDGRP\BLK\SHPPER ) then
SourceLine
i
f not IsEmpty( LIDGRP\BLK\SHPPER ) then
SourceLine Disable ( LIDGRP\REC\SHPDAT )
SourceLine else
SourceLine Enable ( LIDGRP\REC\SHPDAT )
...
...
frame/rmtp.fr2
View file @
3bbfa3f4
...
...
@@ -48,7 +48,7 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine Default OVWP
SourceLine
I
f PANSTA = PanStaEdit then
SourceLine
i
f PANSTA = PanStaEdit then
SourceLine Enable ( OVWP )
SourceLine else
SourceLine Disable ( OVWP )
...
...
frame/srop.fr2
View file @
3bbfa3f4
...
...
@@ -14,7 +14,7 @@ Version 50 TradeDesign®
Datafield SROStream S 1 0 13 1 0 {} {ordered SROStream for visualization}
Rule -1
SourceLine Default SROPG
SourceLine
I
f PANSTA = PanStaEdit then
SourceLine
i
f PANSTA = PanStaEdit then
SourceLine Enable
SourceLine else
SourceLine Disable
...
...
frame/syssyn.tr0
View file @
3bbfa3f4
...
...
@@ -30,7 +30,7 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT MOD
SourceLine
I
f STA = "I" then
SourceLine
i
f STA = "I" then
SourceLine Enable
SourceLine Visible
SourceLine else
...
...
@@ -39,7 +39,7 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT SAV
SourceLine
I
f STA = "E" then
SourceLine
i
f STA = "E" then
SourceLine Enable
SourceLine Visible
SourceLine else
...
...
@@ -48,7 +48,7 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT CAN
SourceLine
I
f STA = "I" then
SourceLine
i
f STA = "I" then
SourceLine Disable
SourceLine Invisible
SourceLine else
...
...
@@ -61,14 +61,14 @@ Version 50 TradeDesign®
Rule -1
SourceLine EVENT SAV
SourceLine $a = checkall( \ )
SourceLine
I
f $a then
SourceLine
i
f $a then
SourceLine save(FILNAM)
SourceLine STA = "I"
SourceLine endif
Rule -1
SourceLine Sub FrameExit global
SourceLine HotKey "Esc"
SourceLine
I
f \STA = "I" or \STA = "N" then
SourceLine
i
f \STA = "I" or \STA = "N" then
SourceLine LnkReturnToCaller
SourceLine else
SourceLine \STA = "I"
...
...
@@ -310,7 +310,7 @@ Version 50 TradeDesign®
SourceLine
Rule -1
SourceLine DEFAULT NEW
SourceLine
I
f STA = "N" then
SourceLine
i
f STA = "N" then
SourceLine Enable
SourceLine Visible
SourceLine else
...
...
frame/trnism.fr5
View file @
3bbfa3f4
...
...
@@ -259,7 +259,7 @@ Version 50 TradeDesign®
20080523144112 CZY SourceLine #WFMMOD.WfeAdd ( "PDA", "PDA" + cortypsub, Today, 24 )
Rule -1
SourceLine Function dcsw ( in amt numeric , in ifpos text , in ifneg text) : text Global
SourceLine
I
f amt < 0 then
SourceLine
i
f amt < 0 then
SourceLine = ifneg
SourceLine else
SourceLine = ifpos
...
...
frame/trtopn.tr2
View file @
3bbfa3f4
...
...
@@ -32,12 +32,12 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine CHECK TRDGRP\REC\ISSDAT
SourceLine
I
f IsEmpty then
SourceLine
i
f IsEmpty then
SourceLine ErrorMandatory
SourceLine endif
Rule -1
SourceLine CHECK TRDGRP\REC\NAM
SourceLine
I
f IsEmpty then
SourceLine
i
f IsEmpty then
SourceLine ErrorMandatory
SourceLine endif
Rule -1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment