Skip to main content


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: 29
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: 674
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, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
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: 29
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: 556
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: Fri Apr 19 00:02:10 GMT 2024

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

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

Back to the top