Re: help with storing user input

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Thu, 15 May 2003 16:13:05 +1000, Derek Parnell
<ddparnell at bigpond.com> wrote:

<snip>

Interesting, two quick points:
>                if find(pText[i], pNonword) > 0
>                then
>                    if lStart !=3D 0
>                    then
>                        -- Avoid empty tokens
>                        if lStart !=3D i then
>                            lTokens =3D append(lTokens, pText[lStart .. =
i -
>1])
>                        end if
>                        lStart =3D 0
>                    end if
>
^^^^^ it looks to me an "else" has gone walkabouts here.
>                    lTokens =3D append(lTokens, {pText[i]})
>                    lStart =3D 0
>                end if
>            end if
>        end if
>    end for

2) I can't see they are used, what were pQuotes[4]&[5] supposed to be
for? Just curious.

Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu