"Operation Code Details" - Implementation & Delphi

Hello,

There’s a text box in operation properties, which is called “Implementation”. Is it possible to put there variables declaration block in Delphi? It is different from c, java inline style declaration. When I put there something like:

var
myVariable : string;
begin
  myVariable := 'Demo text';
end;

it results in generated code:


begin
var
myVariable : string;
begin
  myVariable := 'Demo text';
end;
end;

best regards
Piotr Rezmer

Hi Prezmer,

Thanks for your post. I’ll check with our engineers and come back to you within 2 days.

Best regards,
Lilian Wong

Hi Prezmer,

Our engineers are fixing the problem and I’ll let you know once it’s fixed.

Best regards,
Lilian Wong

Hi Prezmer,

I think you only want to define initial value of attribute and Instant Generator will generate it to constructor.
Our engineers fixed this issue and please update to latest patch (20091016 or later) and see if the problem can be solved?

For your information, more details about update to latest patch are available at:

Best regards,
Lilian Wong