Stop

On Feb 21, 2014, at 11:16 AM, Topcased user list where issues are discussed 
<[email protected]> wrote:

Hello,

I am facing the following problem:

I want to handle with Gendoc a "local" integer variable (I mean by that, a 
variable which is defined in the template document only, not in the model) 
during the generation. I tried this:

[let MyLocalVariable: Integer = 4000]
[MyLocalVariable/]
[/let]

---> This worked and I get "4000" generated in my generated document, but... 
When I try this:

[let MyLocalVariable: Integer = 4000]
[MyLocalVariable= 9000]
[MyLocalVariable/]
[/let]

It does not work and I get an error message popup window during generation 
saying something like "the invocation isn't terminated"

I also tried this:

[let MyLocalVariable: Integer = 4000]
[MyLocalVariable.put(9000)]
[MyLocalVariable/]
[/let]

And I also get an error: "Cannot find operation (put(Integer)) for type 
(Integer)...

I searched in the documentation of gendoc and also in the Acceleo's one, but I 
did find nothing about this, except for the "put" operation which does not 
work... Can you please help me?

Thank you

Aymenn Idbihi


The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other than the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.


_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users

Reply via email to