Sorry, I made a mistake in my original thread...
What I actually did test and what didn't work was without periods, like e.g.
Procedure DefineMyComponents(var EditText : String;
var BoxText : Sting;
var BoxItems : TStrings);
What...
Hello
Would like to pass e.g. Edit.Text or ComboBox.Text or ComboBox.Items as a var into e.g.
Procedure DefineMyComponents(var Edit.Text : String;
var Box.Text : Sting;
var Box.Items : Tstrings);
by calling it e.g. with...
With all the warnings I received, it seems better to leave this way of solving the problem.
The question arose when trying to pass a part of the following array data into a procedure, e.g. from the array
var Names: Array[0..2,0..100]of String[99];
the part
Names[1,0..100];
If the array would...
Unfotunately there does not seem to be a "reasonable" solution to my problem. Your short course of instruction on pointers is verry helpful. Thank you!
Hi
With an ABSOLUTE-declaration it is possible that two different arrays share the some storage space, e.g. like
NumberSequence : Array [0..9] of Integer;
FirstPart : Array [0..4] of Integer ABSOLUTE NumberSequence[0];
Note, both arrays are starting here from zero.
Now, how could it...
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.