#257 EXTRACT /LASTKEY n/ Doesn't show nth to last key

Next Release
pending-fixed
None
5
2013-07-10
2007-11-24
LesK
No

When my macro tries to discover the last few keys pressed with:
EXTRACT /LASTKEY n/
it doesn't show the nth to last key, just the last one.

Discussion

1 2 > >> (Page 1 of 2)
  • Mark Hessling

    Mark Hessling - 2007-12-13

    Logged In: YES
    user_id=86185
    Originator: NO

    Changing this to a feature request.

     
  • Mark Hessling

    Mark Hessling - 2007-12-13
    • assigned_to: nobody --> rexx
     
  • LesK

    LesK - 2007-12-16

    Logged In: YES
    user_id=1659105
    Originator: YES

    Ok, but it's already documented! :-)

     
  • Mark Hessling

    Mark Hessling - 2013-06-20

    Ticket moved from /p/hessling-editor/feature-requests/34/

     
  • Mark Hessling

    Mark Hessling - 2013-06-20
    • status: open --> pending-fixed
    • Group: --> v1.0 (example)
     
  • Mark Hessling

    Mark Hessling - 2013-06-20

    Moved back to Bugs.

    Now fixed.

     
  • LesK

    LesK - 2013-06-21

    Thanks!

     
  • Mark Hessling

    Mark Hessling - 2013-06-21
    • Group: v1.0 (example) --> Next Release
     
  • George R. Goffe

    George R. Goffe - 2013-07-03

    I have written a macro named "tstlastk" which accepts an optional number and defaults to 1 if no operands are given.

    When dumping i = 1 to lastkey.0, I don't see any difference in the responses. Am I not understanding what "extract /lastkey n/" does?

    Here's my output: For some odd reason I'm "say"ing the lastkey.1 item twice. The logic of this escapes me. "q rexx" returns rexx REXX-Regina_3.7(MT) 5.00 14 Oct 2012

    lastkey1=C-M
    lastkey1=C-M
    lastkey2=13
    lastkey3=13
    lastkey4=00000100

    Hit any key to continue...

    lastkey1=C-M
    lastkey1=C-M
    lastkey2=13
    lastkey3=13
    lastkey4=00000100

    Hit any key to continue...

    lastkey1=C-M
    lastkey1=C-M
    lastkey2=13
    lastkey3=13
    lastkey4=00000100

    Hit any key to continue...

    lastkey1=C-M
    lastkey1=C-M
    lastkey2=13
    lastkey3=13
    lastkey4=00000100

     
  • George R. Goffe

    George R. Goffe - 2013-07-03

    The above post was made while using 3.3RC2 but I don't see any difference in output. "q lastkey" fails with Error 0001: Invalid operand: lastkey. Entering lastkey gives "command not found"

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.