Subject: | |
From: | |
Reply To: | [log in to unmask][log in to unmask] Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 [...]42_3Apr200310:23: [log in to unmask] |
Date: | Thu, 3 Apr 2003 15:18:09 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
If you're working in a language with structures you can just do the work by
moving the field into a predefined strucutre. On the other hand in C you
could use a UNION or in COBOL redefines. That's probably the least amount
of work.
Charles Finley
Transformix Computer Corporation
Oceanside, CA
(760) 439-3146
> -----Original Message-----
> From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
> Behalf Of Donna Garverick
> Sent: Thursday, April 03, 2003 3:12 PM
> To: [log in to unmask]
> Subject: Re: regexp?
>
>
> Wirt Atmar wrote:
>
> > Is this another one of those "Fun with C" quizzes, where you
> must write a
> > loop without using any "IF"'s, so people try every dodge in the book to
> > accomplish it, but where "IF"'s still lie at the heart of every attempt?
>
> uh no :-)
>
> > If you're going to partition a string into its component
> pieces, you're going
> > to have to engage some form of substring manipulation,
> regardless of what you
> > call it. Thus the question is, why make life more obscure and
> difficult than
> > it already is?
>
> ok ok....having been shown the light.....it would appear to be
> better to just do
> the substring extraction and not try to be so tricky. - d
>
> --
> Any sufficiently advanced technology is indistinguishable from magic.
> - Arthur Clarke
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|