Ok
Numbers and words
but if there is a space between them nothing happens
Code: Select all
On Serial#1=`*` do // Add * to have non-numeric data processed by the rule
st77xx,clear // Clear area
st77xx,win,1 // Select window
st77xx,txtfull,25,115,04,<foreColor=current>,red, <textPrintMode=current>,<minTextWidthPixels=1>, %eventvalue1%// Select window
st77xx,delwin,1 // Delete Window
st77xx,win,0 // Return to Window 0
endon
no spaces
Code: Select all
2519795: EVENT: Serial#1=`Word`
2519799: ACT : st77xx,clear
2519800: Command: st77xx
2519800: st77xx,clear
2519802: Par1: 0 Par2: 0 Par3: 0 Par4: 0 Par5: 0
2519807: AdaGFX: parse result: 'st77xx,clear'
2519808: AdaGFX: command: st77xx argCount: 0:st77xx,clear
2519868: ACT : st77xx,win,1
2519869: Command: st77xx
2519869: st77xx,win,1
2519871: Par1: 0 Par2: 1 Par3: 0 Par4: 0 Par5: 0
2519875: AdaGFX: parse result: 'st77xx,win,1'
2519877: AdaGFX: command: st77xx argCount: 1:st77xx,win,1
2519880: Command unknown: st77xx,win,1
2519883: ACT : st77xx,txtfull,25,115,04,,red, ,, Word
2519884: Command: st77xx
2519884: st77xx,txtfull,25,115,04,,red, ,, Word
2519886: Par1: 0 Par2: 25 Par3: 115 Par4: 4 Par5: 0
2519891: AdaGFX: parse result: 'st77xx,txtfull,25,115,04,,red, ,, Word'
2519893: AdaGFX: command: st77xx argCount: 8:st77xx,txtfull,25,115,04,,red, ,2519894: invalidCoordinates: X:25/320 Y:115/240
2519894: invalidCoordinates: X:4/320 Y:0/240
2519894: invalidCoordinates: X:29/320 Y:115/240
2519895: invalidCoordinates: X:25/320 Y:115/240
2519896: printText: clear: _x:25, oTop:-4, _y:119, xTx:25, yTx:115, wTx:96, hTx:32, oBot:4, _res_x/max:320/320, str:Word
2519907: ACT : st77xx,delwin,1
2519908: Command: st77xx
2519908: st77xx,delwin,1
2519910: Par1: 0 Par2: 1 Par3: 0 Par4: 0 Par5: 0
2519915: AdaGFX: parse result: 'st77xx,delwin,1'
2519917: AdaGFX: command: st77xx argCount: 1:st77xx,delwin,1
2519919: Command unknown: st77xx,delwin,1
2519922: ACT : st77xx,win,0
2519923: Command: st77xx
2519923: st77xx,win,0
2519925: Par1: 0 Par2: 0 Par3: 0 Par4: 0 Par5: 0
2519929: AdaGFX: parse result: 'st77xx,win,0'
2519931: AdaGFX: command: st77xx argCount: 1:st77xx,win,0
2519939: EVENT: Serial#1=`Word` Processing: 144 ms
2
a space
Code: Select all
2302197: This world
2302203: EVENT: Serial#1=`This world`
2302206: ACT : st77xx,clear
2302207: Command: st77xx
2302208: st77xx,clear
2302210: Par1: 0 Par2: 0 Par3: 0 Par4: 0 Par5: 0
2302214: AdaGFX: parse result: 'st77xx,clear'
2302216: AdaGFX: command: st77xx argCount: 0:st77xx,clear
2302274: ACT : st77xx,win,1
2302275: Command: st77xx
2302275: st77xx,win,1
2302277: Par1: 0 Par2: 1 Par3: 0 Par4: 0 Par5: 0
2302282: AdaGFX: parse result: 'st77xx,win,1'
2302284: AdaGFX: command: st77xx argCount: 1:st77xx,win,1
2302288: Command unknown: st77xx,win,1
2302291: ACT : st77xx,txtfull,25,115,04,,red, ,, This world
2302293: Command: st77xx
2302293: st77xx,txtfull,25,115,04,,red, ,, This world
2302295: Par1: 0 Par2: 25 Par3: 115 Par4: 4 Par5: 0
2302300: AdaGFX: parse result: 'st77xx,txtfull,25,115,04,,red, ,, This w
2302302: AdaGFX: command: st77xx argCount: 9:st77xx,txtfull,25,115,04,,red, ,
2302302: invalidCoordinates: X:25/320 Y:115/240
2302303: invalidCoordinates: X:4/320 Y:0/240
2302303: invalidCoordinates: X:29/320 Y:115/240
2302306: Command unknown: st77xx,txtfull,25,115,04,,red, ,, This world
2302308: ACT : st77xx,delwin,1
2302309: Command: st77xx
2302310: st77xx,delwin,1
2302312: Par1: 0 Par2: 1 Par3: 0 Par4: 0 Par5: 0
2302316: AdaGFX: parse result: 'st77xx,delwin,1'
2302318: AdaGFX: command: st77xx argCount: 1:st77xx,delwin,1
2302320: Command unknown: st77xx,delwin,1
2302323: ACT : st77xx,win,0
2302324: Command: st77xx
2302324: st77xx,win,0
2302326: Par1: 0 Par2: 0 Par3: 0 Par4: 0 Par5: 0
2302331: AdaGFX: parse result: 'st77xx,win,0'
2302332: AdaGFX: command: st77xx argCount: 1:st77xx,win,0
2302340: EVENT: Serial#1=`This world` Processing: 138 ms
How do I have to treat the empty space?
Still got it figured out, that's how it works
Code: Select all
On Serial#1=`*` do // Add * to have non-numeric data processed by the rule
st77xx,clear // Clear area
st77xx,win,1 // Select window
st77xx,txz,10,45,"%eventvalue%"// Select window
st77xx,delwin,1 // Delete Window
st77xx,win,0 // Return to Window 0
endon
Greetings Otto