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



Jon,

 I tried it recently with a named constant and it worked!

 -mark

Original Message:
-----------------
From: Jon Paris Jon.Paris@xxxxxxxxxxxxxx
Date: Mon, 20 Mar 2006 15:08:46 -0500
To: rpg400-l@xxxxxxxxxxxx
Subject: RE: %subst as a result


 >> The general idea should work, but you might need a temporary field to
store result of ((%size(Title) - %size(cTitle)) / 2)  

No need for a temp.  Just use %int or %IntH depending on where you want the
extra space.

However, I'm not certain that you can actually take %Size of a constant (and
haven't time to check) so you may need to load it into a varying field and
then use %Len.

Jon Paris
Partner400

www.Partner400.com
www.RPGWorld.com 


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .




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.