Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

S/36 Environment Cusor Position

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • S/36 Environment Cusor Position

    Looking for a method to determine the cursor postion for S/36 programs compiled in the S/36 environment. The cursor position was previously found on the S/36 by an assembler subroutine.

  • #2
    S/36 Environment Cusor Position

    Greg, Looking for a method to determine the cursor postion for S/36 programs compiled in the S/36 environment. The cursor position was previously found on the S/36 by an assembler subroutine. Add an INFDS to the Workstn file. Within the INFDS position 370 will contain the cursor row (in binary) and 371 will contain the cursor column (in binary). RPG II makes using this information a little more tricky since you cannot define binary subfields within a DS. You therefore need to define them as 1-byte alpha fields or a 2-byte field, and perform the conversion yourself. There are various ways of doing this. Ask for more details if necessary. Doug

    Comment

    Working...
    X