Re: Rob Questions

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

At 02:47 PM 5/12/99 -0400, you wrote:
>Why do I get the following error -- true/false condition must be an ATOM
>for the following code excerpt.
>
>-- v is a sequence
>
>if v[i] != " " to
>  -- take some action
>end if

If v[i] is an atom, use

        if v[i] != ' ' then

The single quotes denote an atom type, whereas the double quotes denote the
sequence type. And you can't use != on sequence comparisons (I think).

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

Search



Quick Links

User menu

Not signed in.

Misc Menu