Link to home
Start Free TrialLog in
Avatar of leachim
leachim

asked on

Linked lists

I have some sample code that allows me to save to memory and then dump that memory to a file.
The problem I have is being able to tell this part of the sample code to accept my figures (which comprise of about 4000 figures read from the lpt port)I really would love to know how to capture those streaming figures from the port wrap them in such a way that i could put them in this sample code that i have

          In order for this sample code to simulate a lot of figures it does this
For i = 1 To 4000              
          Set curr.pnext = New Node  
          Set curr = curr.pnext      
          curr.key = i
next i  
I need to replicate this programmatical scenario  with mine
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

You can implement "Linked list" like features using the Collection object. You don't have to worry about the "Next" pointer. The Collection object is handling it for you.
Avatar of leachim
leachim

ASKER

emoreau
thanks for that
If you think that you have all you need, you should accept the comment!
Avatar of leachim

ASKER

emoreau
i have accepted and graded the comment!
but that  system de experts-exchange has not recorded it poses another question?!
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada 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 leachim

ASKER

emoreau
There is no button to facilitate such an action
Avatar of leachim

ASKER

Thats done it
hope you got it that time emoreau
Thanks.