[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.technology.gmt] Re: oaw: beginner questions
|
Sven Efftinge a écrit :
>
> The syntax for list literals is '{e1,e2,...,en}'
> let l = {1,2,3,4} : l.size
>
Thanks for the information, I couldn't find the syntax in oAW 4 docs.
>
>
> There are no assignments, so you cannot reassign variables. The oAW
> languages are inspired by functional languages.
> What do you want to do?
>
> Sven
Well I'd like to store information for further use. For example when
parsing a UML2 file containing associations between class, I need to
first parse associations then classes (since associations in my file are
not nested in uml class element).
In fact I did it with a static variable inside a java extension but I
wanted to know how this could be done with oAW.
Thanks again for your help ;)