Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Misc > Re: Weak formal...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 764 of 792
Post > Topic >>

Re: Weak formal methods ?

by problems@[EMAIL PROTECTED] Oct 30, 2007 at 07:23 AM

On Sun, 2007-10-28 at 20:35 -0500, problems@[EMAIL PROTECTED]
 wrote:
> > Occasionally, like now, I want to write a small routine to:
> >     FOR StartLine TO EndLine DO
> >       RemoveMultipleConsecutiveSpaces;
> > I.e. remove the extra spaces -- which I remember WS
> > could insert for text to fill the line nicely.

Georg Bauhaus wrote:
> The STRING class has some routines that I guess will be
> helpful here. See http://www.gobosoft.com/eiffel/nice/elks01/string.html
> 
> feature -- Access
>   ...
> feature -- Removal
>   ...
> 
> If this requires too many intuitions, so to speak, you can also get
> Lex style parsing from that place, and probably REs with replacements.
> 
Thanks ! That's excellent.  I'd like the implementation code too, 
although that's probably too tied to the other Eiffel classes to be
conveniently transformed to Oberon source.

== Chris Glur.

PS. why doesn't N-O's String.Mod have an 'Insert' PROC ?




 1 Posts in Topic:
Re: Weak formal methods ?
problems@[EMAIL PROTECTED  2007-10-30 07:23:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 18:50:25 CDT 2008.