I'm looking at the while loop

while wline := read(fd) do {
   if wline[1:n+1] ==  prefix then {
wline[1:n+1] := ""
wline ? fname := tab(many(fchar))
suspend fname
   }
}

and thinking, can't I do it this way and avoid several intermediate string
allocations/operations?

while ( read(fd) ?
if =prefix then move(1) & suspend tab(many(fchar)))


Disclaimer: Untested thought :)

--Jafar







On Tue, Jun 24, 2014 at 1:45 PM, Richard H. McCullough <
[email protected]> wrote:

> FYI
> Reading an internet directory does not give same result
> as reading a local directory.
>
> The attached program is what I use to "correct" that behavior.
>
> Dick McCullough
> Context Knowledge Systems
> What is your view?
>
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Unicon-group mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/unicon-group
>
>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to