Re: Compare question

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

On Sat, 20 Sep 2003 16:09:52 -0600, sixs at ida.net wrote:

>
>I am trying to compare a value first position in a html file. This =
position contains "<"    with a this next line of code
> This is supposed to be an equal compare for the very first position
> =3D=3D> if compare( "<", line[i]) =3D 0 and
try compare('<',line[i]).

line is going to be "<td.., so line[1] is a character, not a string.
You don't need compare in this case, using line[i]=3D'<' is fine.

Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu