× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Hi,

Another strange problem I am faced with is, that copying some source line right before /free produces a strange result when the selection starts with an empty line. In this case the /free and the empty line switch their positions. Can somebody confirm that problem?

Regards,

Thomas.

Example code:

H main(main)

D main pr extpgm('RDI.001')

P main b
D pi

// Select the following four lines (starting with the empty line)
// and use CTRL-C to copy the selection into the clipboard.
// Put the cursor at position 1 of the /free line.
// Use CTRL-V to paste the clipboard.

// That puts the /free at the wrong line.
D copyThis4LinesBeforeSlashFreeDoesNotWork...
D s 10a

// The result of the 4-line copy is:

// Before:

// D result s 10a
// /free
//
// *inlr = *on;
//
// /end-free
// P e

// After: Notice that the /free and the empty line switched positions!

// D result s 10a
// /free
// // That puts the /free at the wrong line.
// D copyThis4LinesBeforeSlashFreeDoesNotWork...
// D s 10a
//
//
// *inlr = *on;
//
// /end-free
// P e

// Select the following two lines and use CTRL-C to
// copy the selection into the clipboard.
// Put the cursor at position 1 of the /free line.
// Use CTRL-V to paste the clipboard.
D copyThis2LinesBeforeSlashFreeWorksAsDesigned...
D s 10a

D result s 10a
/free

*inlr = *on;

/end-free
P e



--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.