Link to home
Start Free TrialLog in
Avatar of blizzdek
blizzdek

asked on

List index

Let's say I wanted to insert an item in a list at an index of 5. I put down the following code:

list1.additem("Item Name"(5))

Why doesn't this work...?
ASKER CERTIFIED SOLUTION
Avatar of vbwizardry
vbwizardry
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of momonja
momonja

whenever i do that it just says

COMPILE ERROR
EXPECTED: =
whenever i do that it just says

COMPILE ERROR
EXPECTED: =
what i think it should do, is use some sort of a for loop or something. I see that we've been experiencing weird problems.

 I think it will not allow to enter 5th value. you have to enter first 4 values too.