Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Linked lists

Posted on 2001-06-13
8
Medium Priority
?
166 Views
Last Modified: 2010-05-02
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
0
Comment
Question by:leachim
  • 4
  • 4
8 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6185804
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.
0
 

Author Comment

by:leachim
ID: 6185859
emoreau
thanks for that
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6186081
If you think that you have all you need, you should accept the comment!
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:leachim
ID: 6186121
emoreau
i have accepted and graded the comment!
but that  system de experts-exchange has not recorded it poses another question?!
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 160 total points
ID: 6186891
Can you accept this one?
0
 

Author Comment

by:leachim
ID: 6186920
emoreau
There is no button to facilitate such an action
0
 

Author Comment

by:leachim
ID: 6186928
Thats done it
hope you got it that time emoreau
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6186967
Thanks.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question