def weekDays = ["Mon","Tue","Wed","Thu","Fri"];
explicitly specifying sequence type
def weekDays: String[] = ["Mon","Tue","Wed","Thu","Fri"];
Sequence within Sequence
def days = [weekDays, ["Sat","Sun"]];
compiler treats this as
def days = ["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];
shorhand notation for sequence
def nums = [1..100];
more of this in here
Showing posts with label sequence. Show all posts
Showing posts with label sequence. Show all posts
Friday, June 19, 2009
Sequencing in JavaFx
Subscribe to:
Posts (Atom)