Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hangzhoutd2bdsproject
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
hangzhoutd2bdsproject
Commits
58e63d06
Commit
58e63d06
authored
Oct 19, 2021
by
wangguangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trndoc goto修改错误代码修复提交
parent
a4f4d6fd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
trndoc.0002.script
script/trndoc.0002.script
+8
-3
trndoc.0068.script
script/trndoc.0068.script
+6
-1
No files found.
script/trndoc.0002.script
View file @
58e63d06
...
...
@@ -74,7 +74,7 @@ void defDocEot(String trigger,String subid,String argdocpannam,String apfcod,int
String docnam = Platform.mid( argdocpannam, 1, Platform.len( argdocpannam ) - 2 ) + Platform.mid( argdocpannam, Platform.len( argdocpannam ), 1 );
// check if message is already in list
int gridCnt = Platform.gridCount( $doceot );
int
fnd
= 0;
int
n
= 0;
boolean setitFlag = true;
setitLabel:
while(true){
...
...
@@ -93,6 +93,7 @@ void defDocEot(String trigger,String subid,String argdocpannam,String apfcod,int
{
Platform.clear( $doceot[i] );
//return ; //#### goto setit
n = i;
break setitLabel;
}
$doceot[i]\pandsc = pandsc;
...
...
@@ -149,13 +150,14 @@ void defDocEot(String trigger,String subid,String argdocpannam,String apfcod,int
}
}
// return ; //#### goto DoRegisterAddTxt
n = i;
setitFlag = false;
break setitLabel;
}
}
}
// find empty line
int fnd = 0;
if( gridCnt > 0 )
{
for(int i = 1;i <= gridCnt;i++)
...
...
@@ -164,17 +166,20 @@ void defDocEot(String trigger,String subid,String argdocpannam,String apfcod,int
{
fnd = i;
//return ; //#### goto setit
n = i;
break setitLabel;
}
}
}
Platform.gridInsertRow( $doceot, 0, 10 );
fnd = Platform.gridCount( $doceot ) - 9;
int i = fnd;
n = fnd;
break setitLabel;
}
// set line in DOCEOT
// #### label setit
int i =
fnd
;
int i =
n
;
if(setitFlag){
if( i > 0 )
{
...
...
script/trndoc.0068.script
View file @
58e63d06
...
...
@@ -34,6 +34,7 @@ void defDocAtt(String trigger,String argid,String argsubid,String argdsc,String
// check if message is already in list
int gridcnt = Platform.gridCount( $doceot );
int fnd = 0;
int n = 0;
setit:
while(true){
if( gridcnt > 0 )
...
...
@@ -44,6 +45,7 @@ void defDocAtt(String trigger,String argid,String argsubid,String argdsc,String
{
fnd = i;
//return ; //#### goto setit
n = i;
break setit;
}
}
...
...
@@ -58,6 +60,7 @@ void defDocAtt(String trigger,String argid,String argsubid,String argdsc,String
{
fnd = i;
//return ; // #### goto setit
n = i;
break setit;
}
}
...
...
@@ -65,11 +68,13 @@ void defDocAtt(String trigger,String argid,String argsubid,String argdsc,String
Platform.gridInsertRow( $doceot, 0, 10 );
gridcnt = Platform.gridCount( $doceot );
fnd = gridcnt - 9;
int i = fnd;
n = fnd;
break setit;
}
// set line in DOCEOT
// #### label setit
int i =
fnd
;
int i =
n
;
if( i > 0 )
{
$doceot[i]\id = id;
...
...
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