× 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.




Confirmed, open a PMR



Regards,

Edmund (E.H.) Reinhardt
Technical Architect for Rational Developer for i



Phone: 1-905-413-3125 | Home: 1-905-854-6195
E-mail: edmund.reinhardt@xxxxxxxxxx
RDi YouTube: 8200 Warden Ave
www.youtube.com/user/IBMRational#g/c/62DF24D5BCD43501 Markham, ON L6G 1C7
Find me on: Canada






From: Sam_L <lennon_s_j@xxxxxxxxxxx>
To: Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Date: 18/12/2014 11:41 AM
Subject: Re: [WDSCI-L] Copying source lines produces strange result
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>



Thomas,

I have always used Alt-L to mark the range of lines, then Alt-C to copy
them. If you haven't tried this, try it. (I don't have access right
now to experiment.)

Sam

On 12/18/2014 4:08 AM, Thomas Raddatz wrote:

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.


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com

--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.