Solved

Linked lists

Posted on 2001-06-13
8
154 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
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 

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 40 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

831 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