|
Am 01.11.2023 um 14:52 schrieb DEnglander--- via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx>:
I have an RPG program that has a WORKSTN file defined with keyword
INFDS(DSPDS)
Here is that DS:
ddspds dS
dcursorloc 370 371b 0
Here is one example of where CURSORLOC is referenced:
c when CsrLoc = 'S1NUMBER' or
c cursorloc > 1282 and cursorloc < 1290
Is this code saying "If the cursor is on field S1NUMBER or it is on row
12, positions 83 through 89 then....
If not, what does the number range of CURSORLOC represent? I can't seem to
find anywhere online where this field is defined as a numeric range.
Normally it shows as position 370 is the Hex of the cursor row location
and 371 is the Hex value of the cursor column location.
Any idea what is range represents? There other ranges within this SELECT
block, but CURSORLOC is only referenced in this SELECT block.
Douglas Englander
Senior Programmer/Analyst
The C. D. Hartnett Company ? Corporate Offices
1-817-594-3813 ext. 1636
"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments accompanying it) contain confidential information belonging to the sender. The information is intended only for the use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of the information is strictly prohibited. Any unauthorized interception of this transmission is illegal under the law. If you have received this transmission in error, please promptly notify the sender by reply e-mail, and then destroy all copies of the transmission."
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.