String compare

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

Hi All

I'm trying to compare two strings.

-- example

object st

st="ABC"

if st="ABC" then puts(1,"OK") end if

The above ends in an error message. In QBASIC a similar program works just
fine. Can someone please tell me where I'm going wrong. Thanks for putting
me right.

Regards,
        Roy

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

Search



Quick Links

User menu

Not signed in.

Misc Menu