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



I had the same issue when using snippets. I solved my problem by using I think it is called ellipse (...). I put the procedure name on one line using the ellipse and the "B" on the next line. So my snippet looked like this:

P ${name}...
P B

Giving me this when used:

P MyProcedure...
P B

Doing it this way allowed the "B" to remain in its original position.

--------------------------------------------------
From: "David FOXWELL" <David.FOXWELL@xxxxxxxxx>
Sent: Friday, April 09, 2010 5:35 AM
To: "Rational Developer for IBM i / Websphere Development Studio Client forSystem i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Subject: [WDSCI-L] variables in snippets

Hi,

I'm trying to make use of snippets.

For marking the start and the end of the modification in a source member, I need the date and a work reference number. I started with thes as variables. As I'm normally using the same reference number all day long, I found it quicker to not use variables and just modify the date every day in the snippets instead of filling in the variables date and reference number.

Now, I've added a skeleton procedure. So, I have

P ${name} B

Can I fix the B so that it stays in column 24 irrespective of the length of the procedure name?

Thanks.


David FOXWELL
Service Informatique
Tél : 03 90 23 91 63
david.foxwell@xxxxxxxxx<mailto:david.foxwell@xxxxxxxxx>
P Pensez à l'environnement avant d'imprimer ce message

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