IS "formvar" part of Delphi or your own method? I could not find a reference for it and am not familiar with it. Either way, what is the declaration for the function? Have you looked at tstringlist?
Also check out extractstrings in the Classes unit.
jsosnowski
Junior Poster in Training
68 posts since Nov 2007
Reputation Points: 11
Solved Threads: 11
FlamingClaw,
You could also use "absolute" to align the two variables in memory by declaring:
Var
S : string;
B : Array of Byte Absolute S;
This allows you to read and write to the string or array using the same memory area. It is similar to Union in C++.
But I do not think this is what yssirhc is after.
jsosnowski
Junior Poster in Training
68 posts since Nov 2007
Reputation Points: 11
Solved Threads: 11