Cursor command fails from macro
Brought to you by:
rexx
This macro runs the "cursor goto" command and fails. With a hard coded line number "tstic x x x 21" it succeeds.
Typing tstic in the line number field gives the expected responses (say output appears valid) but also fails.
/ /
/ Name: tstic /
/ /
trace i
parse arg args
say 'args='args'.....'
parse arg prefix name func pline op extra
say 'prefix='prefix'.....'
say 'name='name'.....'
say 'func='func'.....'
say 'pline='pline'.....'
say datatype(pline)
pline = pline + 0
/
"command cursor goto 8 1"/
"command cursor goto" pline '2'
exit 0
George, please add the macro as an attachment as the special characters like asterisk and hash are removed and it helps if the macro I run to test is the same as your.
Thanks, Mark
George: Take a look at Formatting Help. What you enter here is
somewhat like HTML. SF calls it 'Markdown'. You can always use
the Preview button to see how your post will look before you post it.
You can avoid Markdown by indenting 4 spaces, using a tab or
beginning and ending a block of code with 4 tilde characters.
Les
I didn't realize that there was a problem with posting text. Thanks for the info.
Here's the attachment.