Sorry if this question has been asked previously, but I am interested in learning delphi but cannot find any help or tutorials!!
Does anyone know of any really good sites where I can get tutorials and sample coding etc?
String is one of those data types which need finalization, and as such they cannot be stored in a File type.
One simple solution, for the case of String, is to redeclare the type as an array of characters. For other cases which require finalization, it becomes increasingly difficult to maintain a binary file structure with standard Pascal features, such as 'file of'. In these situations, it is probably easier to write specialized file I/O routines.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.