Skip to main content

Why does this not work??

1 reply [Last post]
lwsiv
Offline
Joined: 2006-05-25
Points: 0

I have the follow class specified. By the language spec this should work:

class SomeClass {
attribute someAttr: SomeOtherClass+;
}

I get:

"Sorry I was trying to understand a type specification, but I got confused when I saw '+' which is an operator."

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
michael_heinrichs
Offline
Joined: 2007-11-15
Points: 0

You are probably using some old language spec. Try this one:
http://openjfx.java.sun.com/current-build/doc/reference/JavaFX-Language....

Do define a sequence of SomeOtherClass, try this:

[code]
attribute someAttr: SomeOtherClass[];
[/code]