> Whats wrong with this syntax:

> repeat with i = 1  to 10
> getat(gbildspel, i)
> end repeat

Nothing, other than that it's D6 and earlier (not that there's anything
wrong with that...).  If you're using D7+, you can use gbildspel[i] instead
of getAt().

On the other hand, you're not doing anything with what you're 'getting at'.
You should assign the result of the getAt() to a variable -- just 'getting
at' will get you nowhere.

> Director doesnt seem to understand the "i"....mmmkay ?

As you've typed it, Director will definitely understand the i.  However, you
must be certain that gbildspel is a list, and that it holds at least 10
values.  Otherwise you'll get an error.

Have you stepped through the code in the debugger?  That'll tell you what's
going on.

HTH
Rob

/*********************************
* Rob Wingate, Software Human    *
* http://www.vingage.com         *
* mailto:[EMAIL PROTECTED] *
*********************************/

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to