Re: Help With An Error

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

Hi Chris!

Remember that gets() returns a sequence if a line is there, or an integer (-1)
if a line isn't there.  So,
you need to declare temp as an object, then ...

if sequence(temp) then
  -- There's the line!
else
  -- Oh no, end of file! I'm doomed
end if

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

Search



Quick Links

User menu

Not signed in.

Misc Menu