Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » error message(error message)
error message [message #932717] Thu, 04 October 2012 11:08 Go to next message
dorraaaa Z is currently offline dorraaaa ZFriend
Messages: 22
Registered: June 2012
Junior Member
Hi

i have declare my variables in USING part

using{
interface:UIML!InterfaceType=null;
structure:UIML!StructureType=null;
style:UIML!StyleType=null;
}

but i have error msg:[b] variable 'null' undefined[/b

what can i do please?
Re: error message [message #932785 is a reply to message #932717] Thu, 04 October 2012 12:28 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 616
Registered: July 2009
Senior Member
Hello,

Within a "using" section, you have to assign concrete values to your variables by navigating the input model.
Also, the keyword "null" does not exist in ATL. The somehow equivalent is "OclUndefined".
I encourage you to take a look to the ATL user guide to get all the required information about this.

Best regards,

Hugo


------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
Re: error message [message #932978 is a reply to message #932785] Thu, 04 October 2012 16:21 Go to previous messageGo to next message
dorraaaa Z is currently offline dorraaaa ZFriend
Messages: 22
Registered: June 2012
Junior Member
ok thank you very much
i would know what shouold i write Instead of

if (node=null) =>?? if (node= oclUndefined)
It's write ??
Re: error message [message #933633 is a reply to message #932978] Fri, 05 October 2012 07:31 Go to previous message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 523
Registered: July 2009
Senior Member
node.oclIsUndefined()
Previous Topic:[ATL] how can I know the path of the model output and xmiID of newly created elements?
Next Topic:error
Goto Forum:
  


Current Time: Sun Dec 21 04:11:24 GMT 2014

Powered by FUDForum. Page generated in 0.01616 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software