It's not. There are things happening in that code that VB can't replicate the same way pascal does it's thing. If you give me a stronger idea of what the program is doing (the entire program) then I might be able to get a feel for how to restructure it for VB, but with the code provided above, requires a stronger understanding of pascal than I know.... you might consider looking into user defined types, and arrays..... maybe it's creating an array of user defined types, and then deleting them.... I dunno.
Comatose
Taboo Programmer
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215