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


  • Subject: RE: %size(%trim(field)) in RPG/IV
  • From: "Stone, Brad V (TC)" <bvstone@xxxxxxxxxxxxxx>
  • Date: Thu, 20 Aug 1998 10:22:54 -0500

I apologize.  Again, I got %size and %len mixed up.  

Bradley V. Stone        
bvstone@taylorcorp.com
http://prairie.lakes.com/~bvstone/
"Closing my mouth before I scream.  No one can shake my self-esteem."
-YJM


> -----Original Message-----
> From: David Morris [SMTP:dmorris@plumcreek.com]
> Sent: Thursday, August 20, 1998 9:03 AM
> To:   MIDRANGE-L@midrange.com
> Subject:      Re: %size(%trim(field)) in RPG/IV
> 
> Brad,
> 
> %size will not except an expression where %len will.  I can't think of
> a case where this would be a problem though.
> 
> David Morris 
> 
> >>> "Stone, Brad V (TC)" <bvstone@taylorcorp.com> 08/19 4:18 PM >>>
> I tried using the %size(%trim(field)) combination in RPG and got a
> compile
> error.  Our machine is on V3R2.  Any ideas?  It is supposed to act the
> same
> as %len, I have heard.
> 
> Bradley V. Stone      
> bvstone@taylorcorp.com 
> http://prairie.lakes.com/~bvstone/ 
> "Closing my mouth before I scream.  No one can shake my self-esteem."
> -YJM
> 
> 
> > -----Original Message-----
> > From:       Richard Baird [SMTP:rbbaird@premsys.com] 
> > Sent:       Wednesday, August 19, 1998 4:21 PM
> > To: MIDRANGE-L@midrange.com 
> > Subject:    Re: Scanning from the right
> > 
> > John,
> > 
> > look at the CHECKR opcode. With a search argument of ' ', it checks
> > for the first position that DOESN'T contain the search argument.
> > 
> > also, in rpgiv, %len(%trim(field)) will return the last non-blank
> > position in a string.
> > 
> > hth,
> > 
> > Rick
> > 
> 
> 
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
> MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.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.