Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

RECORD VS CLASS

Name: ­ 2009-03-14 9:45

entry-level here, forced to work in Delphi 5 (i know)

so i have got a working program that uses records that use pointers to point to the next record each
and i've got a program that uses classes

would it be SENSEFULL trying to replace the records from the first program with a class that does the exact same thing, which is storing a single dataset (e.g. a name) and pointing to the next instance of the class to create a linear database?

Name: Anonymous 2009-03-14 9:58

s/record/class/g

Great, now your linked list uses n*4bytes more storage than before, and exactly what did you gain?

What do you even seek to gain? What is your use case? Why did you even post this here? You didn't expect REAL help, did you? Hahaha, you poor soul. Enjoy getting fired sometimes between now and the next three weeks. But don't come here crying then, you hear me?

...................__
............./´¯/'...'/´¯¯`·¸
........../'/.../..../......./¨¯\
........('(...´...´.... ¯~/'...')
.........\.................'...../
..........''...\.......... _.·´
............\..............(

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List