Index: doc/next-migration.html =================================================================== diff -u -rd168a26bce713de8daa5bbe79d740926e961c5bc -r89376e0f64856bb395fdb4407c9646787545a08b --- doc/next-migration.html (.../next-migration.html) (revision d168a26bce713de8daa5bbe79d740926e961c5bc) +++ doc/next-migration.html (.../next-migration.html) (revision 89376e0f64856bb395fdb4407c9646787545a08b) @@ -389,6 +389,11 @@ Object create o {
  :attribute oa2
}
+
+ Class create C \
   -attributes {
+     x
+     {y 1}
+
}
@@ -636,7 +641,7 @@ -

Object Parameters

+

Object Parameters/Attributes

@@ -658,7 +663,7 @@
XOTclNext Scripting Language
- Class create Foo -parameter {a {b 1}}

+ Class create Foo -attributes {a {b 1}}

# Create instance of the class Foo
Foo create f1 -a 0

# Object f1 has a == 0 and b == 1
@@ -716,7 +721,7 @@ # ascii, boolean, control, digit, double, false, graph,
# integer, lower, print, punct, space, true, upper,
# wordchar, xdigit

- Class create Foo -parameter {
+ Class create Foo -attributes {
   a:boolean
   {b:integer 1}
}
@@ -734,7 +739,7 @@
# Required parameter
- Class create Foo -parameter {
+ Class create Foo -attributes {
   a:boolean,required
   {b:integer 1}
}
@@ -752,7 +757,7 @@
# Required parameter
- Class create Foo -parameter {
+ Class create Foo -attributes {
   ...
   ints:integer,multivalued
   {objs:object,multivalued ""}
@@ -1444,6 +1449,6 @@
- Last modified: Fri Sep 10 10:36:34 CEST 2010 + Last modified: Mon Sep 13 16:07:33 CEST 2010