#259 Cursor command fails from macro


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


  • Mark Hessling

    Mark Hessling - 2013-06-26
    • assigned_to: Mark Hessling
    • Group: Next Release --> None
  • Mark Hessling

    Mark Hessling - 2013-06-26

    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

  • LesK

    LesK - 2013-06-26

    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.


  • George R. Goffe

    George R. Goffe - 2013-06-27

    I didn't realize that there was a problem with posting text. Thanks for the info.

    Here's the attachment.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks