Re: seek() bug?

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

On 14 Feb 2002, at 17:09, Robert Craig wrote:

> 
> Kat writes:
> 
> > This doesn't work:
> > junk_i = seek(indexfile,junk_i)
> 
> > This does:
> > seek_i = seek(indexfile,junk_i)
> 
> Both of these are syntactically incorrect. 
> seek() takes 2 arguments, so you need a comma.
> Maybe in the heat of battle, you corrected the syntax error
> along with changing the name of the result variable.

But there ARE commas there! The comma looks like it's part of the 'j' in 
some fonts. 
",j" = ',' & 'j' 

inserting spaces, it looks like: 

This doesn't work:
junk_i = seek(indexfile , junk_i)
 
This does:
seek_i = seek(indexfile , junk_i)

Looks like using the same var in the arguement as the assignee breaks 
something?

Kat

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

Search



Quick Links

User menu

Not signed in.

Misc Menu