[fpc-pascal] Generic String Functions
Michael Schnell
mschnell at lumino.de
Wed Jan 15 17:19:14 CET 2014
DXE Strings again :-) ,
What is the relation between Generic Functions and (static) DXE String
encoding schemes ?
Can you (e.g.) do a (silly) Generic Function that takes two strings of
any (but identical) encoding type, concatenates them and outputs the
result in the same (static) encoding type, so that you can call the
beast to handle the encoding type specified by the caller from "outside"
(e.g. in another unit) without unnecessary conversions.
If this is possible, how is it implemented ?
Could a single "Generic TStringlist" be done that way to allow for
storing and retrieving Strings of any - but ubiquitous - (static)
encoding Type ?
-Michael
More information about the fpc-pascal
mailing list