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
...
@@ -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 );
String docnam = Platform.mid( argdocpannam, 1, Platform.len( argdocpannam ) - 2 ) + Platform.mid( argdocpannam, Platform.len( argdocpannam ), 1 );
// check if message is already in list
// check if message is already in list
int gridCnt = Platform.gridCount( $doceot );
int gridCnt = Platform.gridCount( $doceot );
int
fnd
= 0;
int
n
= 0;
boolean setitFlag = true;
boolean setitFlag = true;
setitLabel:
setitLabel:
while(true){
while(true){
...
@@ -93,6 +93,7 @@ void defDocEot(String trigger,String subid,String argdocpannam,String apfcod,int
...
@@ -93,6 +93,7 @@ void defDocEot(String trigger,String subid,String argdocpannam,String apfcod,int
{
{
Platform.clear( $doceot[i] );
Platform.clear( $doceot[i] );
//return ; //#### goto setit
//return ; //#### goto setit
n = i;
break setitLabel;
break setitLabel;
}
}
$doceot[i]\pandsc = pandsc;
$doceot[i]\pandsc = pandsc;
...
@@ -149,13 +150,14 @@ void defDocEot(String trigger,String subid,String argdocpannam,String apfcod,int
...
@@ -149,13 +150,14 @@ void defDocEot(String trigger,String subid,String argdocpannam,String apfcod,int
}
}
}
}
// return ; //#### goto DoRegisterAddTxt
// return ; //#### goto DoRegisterAddTxt
n = i;
setitFlag = false;
setitFlag = false;
break setitLabel;
break setitLabel;
}
}
}
}
}
}
// find empty line
// find empty line
int fnd = 0;
if( gridCnt > 0 )
if( gridCnt > 0 )
{
{
for(int i = 1;i <= gridCnt;i++)
for(int i = 1;i <= gridCnt;i++)
...
@@ -164,17 +166,20 @@ void defDocEot(String trigger,String subid,String argdocpannam,String apfcod,int
...
@@ -164,17 +166,20 @@ void defDocEot(String trigger,String subid,String argdocpannam,String apfcod,int
{
{
fnd = i;
fnd = i;
//return ; //#### goto setit
//return ; //#### goto setit
n = i;
break setitLabel;
break setitLabel;
}
}
}
}
}
}
Platform.gridInsertRow( $doceot, 0, 10 );
Platform.gridInsertRow( $doceot, 0, 10 );
fnd = Platform.gridCount( $doceot ) - 9;
fnd = Platform.gridCount( $doceot ) - 9;
int i = fnd;
n = fnd;
break setitLabel;
break setitLabel;
}
}
// set line in DOCEOT
// set line in DOCEOT
// #### label setit
// #### label setit
int i =
fnd
;
int i =
n
;
if(setitFlag){
if(setitFlag){
if( i > 0 )
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
...
@@ -34,6 +34,7 @@ void defDocAtt(String trigger,String argid,String argsubid,String argdsc,String
// check if message is already in list
// check if message is already in list
int gridcnt = Platform.gridCount( $doceot );
int gridcnt = Platform.gridCount( $doceot );
int fnd = 0;
int fnd = 0;
int n = 0;
setit:
setit:
while(true){
while(true){
if( gridcnt > 0 )
if( gridcnt > 0 )
...
@@ -44,6 +45,7 @@ void defDocAtt(String trigger,String argid,String argsubid,String argdsc,String
...
@@ -44,6 +45,7 @@ void defDocAtt(String trigger,String argid,String argsubid,String argdsc,String
{
{
fnd = i;
fnd = i;
//return ; //#### goto setit
//return ; //#### goto setit
n = i;
break setit;
break setit;
}
}
}
}
...
@@ -58,6 +60,7 @@ void defDocAtt(String trigger,String argid,String argsubid,String argdsc,String
...
@@ -58,6 +60,7 @@ void defDocAtt(String trigger,String argid,String argsubid,String argdsc,String
{
{
fnd = i;
fnd = i;
//return ; // #### goto setit
//return ; // #### goto setit
n = i;
break setit;
break setit;
}
}
}
}
...
@@ -65,11 +68,13 @@ void defDocAtt(String trigger,String argid,String argsubid,String argdsc,String
...
@@ -65,11 +68,13 @@ void defDocAtt(String trigger,String argid,String argsubid,String argdsc,String
Platform.gridInsertRow( $doceot, 0, 10 );
Platform.gridInsertRow( $doceot, 0, 10 );
gridcnt = Platform.gridCount( $doceot );
gridcnt = Platform.gridCount( $doceot );
fnd = gridcnt - 9;
fnd = gridcnt - 9;
int i = fnd;
n = fnd;
break setit;
break setit;
}
}
// set line in DOCEOT
// set line in DOCEOT
// #### label setit
// #### label setit
int i =
fnd
;
int i =
n
;
if( i > 0 )
if( i > 0 )
{
{
$doceot[i]\id = id;
$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