Hi everyone,

I know that if you have a script of the following form:

var s: string;

procedure Test;
begin
  var s: integer;
end;

that the second instance of the variable s overrides the first instance when in the Test procedure but is there someway to access the overridden instance using some type of qualifier or namespace (e.g. something like Global.s). The particular issue I'm having is illustrated by the following code:

var AVariable: integer;

procedure Test(var AVariable: integer);
begin
  AVariable := <qualifier>.AVariable;
end;

I'm not able to assign the main variable AVariable  to the procedure’s parameter.

Thanks in advance,
Marcel