Hi,
I am trying to include whitespace in a string. Here is part of my macro:
watch for
"CALL SUPERVISOR" : {}
"? FORMAT" : {}
"INVALID " : invchecker : {}
"RP/": {}
endwatch
I've simplified it, but basically I only want the invchecker procedure to be called if it finds the word "INVALID " on the screen (i.e INVALID followed by five spaces. However, invchecker is being called whenever it sees the word "INVALID" on screen, so its ignoring the whitespace.
Does anyone know if there is anything that can be done to specifically ensure the whitespace is included as part of the string?
Many thanks
Tim
I am trying to include whitespace in a string. Here is part of my macro:
watch for
"CALL SUPERVISOR" : {}
"? FORMAT" : {}
"INVALID " : invchecker : {}
"RP/": {}
endwatch
I've simplified it, but basically I only want the invchecker procedure to be called if it finds the word "INVALID " on the screen (i.e INVALID followed by five spaces. However, invchecker is being called whenever it sees the word "INVALID" on screen, so its ignoring the whitespace.
Does anyone know if there is anything that can be done to specifically ensure the whitespace is included as part of the string?
Many thanks
Tim