Structure.st
author Claus Gittinger <cg@exept.de>
Fri, 03 Sep 1999 17:36:50 +0200
changeset 953 e863f0860a7e
parent 945 a42d24a15c84
child 1037 6c3b1d28ae03
permissions -rw-r--r--
checkin from browser
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
283
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
     1
"
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
     2
 COPYRIGHT (c) 1996 by Claus Gittinger
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
     3
              All Rights Reserved
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
     4
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
     5
 This software is furnished under a license and may be used
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
     6
 only in accordance with the terms of that license and with the
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
     8
 be provided or otherwise made available to, or used by, any
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
     9
 other person.  No title to or ownership of the software is
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    10
 hereby transferred.
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    11
"
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    12
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
Object subclass:#Structure
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    14
	instanceVariableNames:'superclass flags methodDictionary otherSupers instSize i1 i2 i3
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
    15
		i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18 i19 i20 i21
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
    16
		i22 i23 i24 i25 i26 i27 i28 i29 i30 i31 i32 i33 i34 i35 i36 i37
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
    17
		i38 i39 i40 i41 i42 i43 i44 i45 i46 i47 i48 i49 i50'
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    18
	classVariableNames:'OneInstance DummyClass ReadAccessMethods WriteAccessMethods
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    19
		OtherMethods OtherSelectors'
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	poolDictionaries:''
283
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    21
	category:'Programming-Support'
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    24
!Structure class methodsFor:'documentation'!
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
283
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    26
copyright
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    27
"
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    28
 COPYRIGHT (c) 1996 by Claus Gittinger
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    29
              All Rights Reserved
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    30
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    31
 This software is furnished under a license and may be used
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    32
 only in accordance with the terms of that license and with the
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    33
 inclusion of the above copyright notice.   This software may not
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    34
 be provided or otherwise made available to, or used by, any
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    35
 other person.  No title to or ownership of the software is
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    36
 hereby transferred.
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    37
"
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    38
!
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    39
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
documentation
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
"
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    42
    This is an experimental class, stressing the metaObject capabilities.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    44
    Structures are objects which are class-less,
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    45
    only holding some values, and provide a protocol to access
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    46
    those fields. In addition, they support the array-protocol,
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    47
    so they can be used as backward compatible replacements in
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    places where arrays were returned.
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    49
    (However, we recommend using private classes, since they are easier
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    50
     to understand and aintain).
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    51
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    52
    For example, some structure object can be create with:
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    53
        ^ Structure with:#foo->'someFooValue' with:#bar->'someBarValue'
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
    and access these values either as:
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    56
        retVal at:1     -> returns the foo instvar value
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    57
        retVal at:2     -> returns the bar instvar value
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
    or (much more convenient and readable) as:
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    59
        retVal foo
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    60
        retVal bar
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    62
    Implementation note:
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    63
        this is a very tricky (but fully legal) implementation,
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    64
        creating an object which is its own class. 
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    65
        Therefore, no additional overhead by extra (class) objects is involved.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    66
        These are very lightweight objects.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    67
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    68
        Another prove that smalltalk is a powerful & flexible programming language.
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    69
        However, some smalltalk systems crash if your try this ;-)
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
    71
    CAVEAT:
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    72
        tricky implementation - not the full object protocol is supported;
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
    73
        a maximum of 50 instance variables is allowed.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
    74
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    75
    [WARNING:]
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    76
        this is an experimental goody - for our amusement and not meant
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    77
        to be used in real applications.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    78
        It may be removed without notice and/or no longer maintained in the furure.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    79
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
    [author:]
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    81
        Claus Gittinger
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    83
    [see also:]
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    84
        Array 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    85
        Behavior
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    88
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
examples
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    90
"
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    91
  access is possibly by name:
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    92
                                                                [exBegin]
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    93
    Transcript showCR:
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    94
        (Structure with:#foo->'foo value') foo
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    95
                                                                [exEnd]
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    96
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    97
  AND also by index (for backward compatibility):
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    98
                                                                [exBegin]
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    99
    Transcript showCR:
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   100
        ((Structure with:#foo->'foo value') at:1)
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   101
                                                                [exEnd]
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   103
  it can be inspected:
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   104
                                                                [exBegin]
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   105
    (Structure with:#foo->'foo value') inspect
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   106
                                                                [exEnd]
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   108
  and presents its contents nicely:
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   109
                                                                [exBegin]
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   110
    (Structure with:#foo->'foo value' with:#bar->'bar value') inspect
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   111
                                                                [exEnd]
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   112
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   113
                                                                [exBegin]
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   114
    (Structure with:#foo->'hello' with:#bar->true with:#baz->'world') inspect
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   115
                                                                [exEnd]
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   116
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   117
"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   118
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   119
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   120
!Structure class methodsFor:'initialization'!
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   121
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   122
initialize
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   123
    OneInstance isNil ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   124
        OneInstance := self basicNew.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   125
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   126
        DummyClass := Behavior shallowCopy.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   127
        DummyClass flags:(Behavior flagBehavior bitOr:Behavior flagPointers).
953
e863f0860a7e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 945
diff changeset
   128
        DummyClass setName:#DummyClass.
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   129
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   130
        ReadAccessMethods := (1 to:50) 
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   131
                                collect:[:i | |m|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   132
                                            m := self compiledMethodAt:('i', i printString) asSymbol.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   133
                                            (m notNil and:[m isLazyMethod]) ifTrue:[m makeRealMethod].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   134
                                            m
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   135
                                ].
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   136
        WriteAccessMethods := (1 to:50) 
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   137
                                collect:[:i | |m|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   138
                                            m := self compiledMethodAt:('i', i printString , ':') asSymbol.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   139
                                            (m notNil and:[m isLazyMethod]) ifTrue:[m makeRealMethod].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   140
                                            m
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   141
                                ].
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   142
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   143
        OtherMethods := OrderedCollection new.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   144
        OtherMethods 
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   145
            add:(self compiledMethodAt:#doesNotUnderstand:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   146
            add:(Object compiledMethodAt:#class);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   147
            add:(Object compiledMethodAt:#identityHash);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   148
            add:(Object compiledMethodAt:#at:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   149
            add:(Object compiledMethodAt:#at:put:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   150
            add:(Object compiledMethodAt:#basicAt:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   151
            add:(Object compiledMethodAt:#basicAt:put:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   152
            add:(Object compiledMethodAt:#printString);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   153
            add:(Object compiledMethodAt:#printOn:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   154
            add:(Object compiledMethodAt:#addDependent:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   155
            add:(Object compiledMethodAt:#removeDependent:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   156
            add:(Object compiledMethodAt:#dependents);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   157
            add:(Object compiledMethodAt:#dependents:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   158
            add:(Object compiledMethodAt:#perform:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   159
            add:(Object compiledMethodAt:#perform:with:).
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   160
        OtherMethods := OtherMethods asArray.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   161
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   162
        OtherSelectors := #(#doesNotUnderstand: 
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   163
                            #class #identityHash
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   164
                            #at: #at:put: #basicAt: #basicAt:put: 
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   165
                            #printString #printOn:
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   166
                            #addDependent: #removeDependent: #dependents #dependents:
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   167
                            #perform: #perform:with:).
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   168
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   169
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   170
    "
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   171
     OneInstance := nil.
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   172
     self initialize.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   174
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   175
    "Modified: 21.9.1996 / 16:01:48 / cg"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   176
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   177
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   178
!Structure class methodsFor:'instance creation'!
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   179
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
newWith:names
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
    "return a new structure containing fields as passed in the names collection.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
     The argument must be a sequenceable collection of symbols.
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   183
     The new structures values are all initialized to nil."
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   184
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   185
     ^ self newWith:names values:nil
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   186
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   187
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   188
     Structure newWith:#(foo bar)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   189
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   190
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   191
    "Created: 13.5.1996 / 20:03:42 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   192
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   193
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   194
newWith:names values:values
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
    "return a new structure containing fields as passed in the names collection.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   196
     The argument must be a sequenceable collection of symbols.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   197
     The new structures values are set to corresponding values from the second argument, values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   198
654
da9ab8a701fd *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   199
    |arr sels mthds nInsts|
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   200
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   201
    nInsts := names size.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   202
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   203
    sels := names collect:[:nm | nm asSymbol].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   204
    sels := sels , (names collect:[:nm | (nm , ':') asSymbol]).
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   205
    sels := sels , OtherSelectors.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   206
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   207
    mthds := ReadAccessMethods copyTo:nInsts. 
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   208
    mthds := mthds , (WriteAccessMethods copyTo:nInsts).
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   209
    mthds := mthds , OtherMethods.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   210
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   211
    "/ create a prototype object as an array ...
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   212
    "/ the object will be its own class, and have the indexable flag bit set;
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   213
    "/ therefore, the first 5 instVars must correspond to Behavior instvars,
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   214
    "/ the remaining ones will be the indexed instvars.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   215
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   216
    arr := Array new:(nInsts + 5).
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   217
    arr at:1 put:nil.                                                   "/ superclass
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   218
    arr at:2 put:(Behavior flagBehavior bitOr:Behavior flagPointers).   "/ flags
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   219
    arr at:3 put:(MethodDictionary withKeys:sels andValues:mthds).      "/ selectors & methods
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   220
    arr at:4 put:nil.                                                   "/ other supers
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   221
    arr at:5 put:5.                                                     "/ instSize 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   222
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   223
    "/ now, the big trick ...
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   224
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   225
    arr changeClassTo:DummyClass.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   226
    arr changeClassTo:arr.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   227
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   228
    values notNil ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   229
        values keysAndValuesDo:[:i :val |
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   230
            arr at:i put:val
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   231
        ]
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   232
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   233
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   234
    ^ arr.  
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   235
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   236
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   237
     Structure newWith:#(foo bar) values:#('foo' 'bar')
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   238
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   239
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   240
    "Created: 13.5.1996 / 20:03:42 / cg"
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   241
    "Modified: 3.7.1996 / 10:24:43 / cg"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   242
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   243
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   244
with:assoc
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   245
    "return a new structure with a single field, named to the assocs key,
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
     and initialized with assocs value."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
     ^ self newWith:(Array with:assoc key) values:(Array with:assoc value)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
     Structure with:#foo->'foo'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   252
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   253
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
with:assoc1 with:assoc2
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   256
    "return a new structure with two fields, named as defined by the arguments'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   257
     keys, and and initialized with the assocs' values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   258
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   259
     ^ self newWith:(Array with:assoc1 key with:assoc2 key) 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   260
             values:(Array with:assoc1 value with:assoc2 value)
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   261
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   262
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   263
     Structure with:#foo->'foo' with:#bar->'bar'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   264
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   265
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   266
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   267
with:assoc1 with:assoc2 with:assoc3
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   268
    "return a new structure with three fields, named as defined by the arguments'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   269
     keys, and and initialized with the assocs' values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   270
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   271
     ^ self newWith:(Array with:assoc1 key with:assoc2 key with:assoc3 key) 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   272
             values:(Array with:assoc1 value with:assoc2 value with:assoc3 value)
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   273
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   274
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   275
     Structure with:#foo->'foo' with:#bar->'bar' with:#baz->'baz'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   276
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   277
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   278
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   279
with:assoc1 with:assoc2 with:assoc3 with:assoc4
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   280
    "return a new structure with four fields, named as defined by the arguments'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   281
     keys, and and initialized with the assocs' values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   282
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   283
     ^ self newWith:(Array with:assoc1 key with:assoc2 key 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   284
                           with:assoc3 key with:assoc4 key) 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   285
             values:(Array with:assoc1 value with:assoc2 value 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   286
                           with:assoc3 value with:assoc4 value)
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   287
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   288
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   289
     Structure with:#foo->'foo' with:#bar->'bar' with:#baz->'baz' with:#hello->'hello'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   290
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   291
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   292
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   293
with:assoc1 with:assoc2 with:assoc3 with:assoc4 with:assoc5
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   294
    "return a new structure with five fields, named as defined by the arguments'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   295
     keys, and and initialized with the assocs' values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   296
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   297
     ^ self newWith:(Array with:assoc1 key with:assoc2 key 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   298
                           with:assoc3 key with:assoc4 key      
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   299
                           with:assoc5 key) 
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   300
             values:(Array with:assoc1 value with:assoc2 value 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   301
                           with:assoc3 value with:assoc4 value 
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   302
                           with:assoc5 value)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   303
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   304
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   305
     Structure with:#foo->'foo' with:#bar->'bar' with:#baz->'baz' with:#hello->'hello' with:#world->'world'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   306
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   307
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   308
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   309
!Structure class methodsFor:'special'!
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   310
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   311
primAddSelector:newSelector withMethod:newMethod
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   312
    "must reinit myself when methods are accepted."
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   313
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   314
    |val|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   315
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   316
    val := super primAddSelector:newSelector withMethod:newMethod.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   317
    OneInstance := nil.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   318
    self initialize.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   319
    ^ val
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   320
! !
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   321
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   322
!Structure methodsFor:'accessing'!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   323
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   324
flags
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   325
    "return the flags - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   326
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   327
    ^ flags
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   328
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   329
    "Created: 13.5.1996 / 21:19:23 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   330
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   331
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   332
flags:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   333
    "set the flags - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   334
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   335
    flags := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   336
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   337
    "Created: 13.5.1996 / 21:19:23 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   338
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   339
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   340
i1
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   341
    "prototype method to return the first instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   342
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   343
    ^ i1
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   344
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   345
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   346
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   347
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   348
i10
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   349
    "prototype method to return the 10th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   350
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   351
    ^ i10
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   352
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   353
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   354
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   355
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   356
i10:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   357
    "prototype method to set the 10th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   358
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   359
    i10 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   360
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   361
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   362
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   363
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   364
i11
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   365
    "return i11"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   366
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   367
    ^ i11
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   368
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   369
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   370
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   371
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   372
i11:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   373
    "prototype method to set the 11th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   374
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   375
    i11 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   376
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   377
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   378
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   379
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   380
i12
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   381
    "return i12"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   382
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   383
    ^ i12
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   384
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   385
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   386
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   387
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   388
i12:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   389
    "set i12"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   390
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   391
    i12 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   392
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   393
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   394
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   395
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   396
i13
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   397
    "return i13"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   398
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   399
    ^ i13
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   400
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   401
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   402
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   403
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   404
i13:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   405
    "set i13"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   406
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   407
    i13 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   408
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   409
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   410
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   411
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   412
i14
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   413
    "return i14"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   414
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   415
    ^ i14
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   416
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   417
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   418
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   419
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   420
i14:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   421
    "set i14"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   422
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   423
    i14 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   424
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   425
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   426
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   427
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   428
i15
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   429
    "return i15"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   430
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   431
    ^ i15
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   432
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   433
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   434
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   435
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   436
i15:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   437
    "set i15"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   438
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   439
    i15 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   440
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   441
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   442
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   443
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   444
i16
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   445
    "return i16"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   446
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   447
    ^ i16
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   448
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   449
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   450
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   451
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   452
i16:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   453
    "set i16"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   454
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   455
    i16 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   456
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   457
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   458
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   459
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   460
i17
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   461
    "return i17"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   462
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   463
    ^ i17
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   464
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   465
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   466
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   467
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   468
i17:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   469
    "set i17"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   470
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   471
    i17 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   472
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   473
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   474
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   475
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   476
i18
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   477
    "return i18"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   478
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   479
    ^ i18
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   480
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   481
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   482
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   483
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   484
i18:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   485
    "set i18"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   486
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   487
    i18 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   488
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   489
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   490
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   491
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   492
i19
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   493
    "return i19"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   494
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   495
    ^ i19
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   496
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   497
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   498
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   499
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   500
i19:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   501
    "set i19"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   502
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   503
    i19 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   504
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   505
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   506
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   507
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   508
i1:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   509
    "prototype method to set the 1st instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   510
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   511
    i1 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   512
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   513
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   514
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   515
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   516
i2
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   517
    "prototype method to return the 2nd instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   518
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   519
    ^ i2
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   520
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   521
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   522
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   523
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   524
i20
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   525
    "return i20"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   526
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   527
    ^ i20
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   528
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   529
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   530
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   531
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   532
i20:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   533
    "set i20"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   534
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   535
    i20 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   536
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   537
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   538
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   539
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   540
i21
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   541
    "return i21"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   542
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   543
    ^ i21
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   544
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   545
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   546
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   547
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   548
i21:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   549
    "set i21"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   550
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   551
    i21 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   552
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   553
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   554
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   555
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   556
i22
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   557
    "return i22"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   558
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   559
    ^ i22
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   560
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   561
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   562
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   563
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   564
i22:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   565
    "set i22"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   566
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   567
    i22 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   568
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   569
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   570
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   571
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   572
i23
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   573
    "return i23"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   574
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   575
    ^ i23
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   576
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   577
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   578
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   579
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   580
i23:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   581
    "set i23"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   582
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   583
    i23 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   584
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   585
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   586
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   587
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   588
i24
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   589
    "return i24"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   590
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   591
    ^ i24
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   592
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   593
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   594
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   595
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   596
i24:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   597
    "set i24"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   598
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   599
    i24 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   600
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   601
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   602
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   603
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   604
i25
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   605
    "return i25"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   606
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   607
    ^ i25
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   608
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   609
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   610
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   611
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   612
i25:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   613
    "set i25"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   614
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   615
    i25 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   616
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   617
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   618
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   619
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   620
i26
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   621
    "return i26"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   622
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   623
    ^ i26
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   624
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   625
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   626
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   627
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   628
i26:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   629
    "set i26"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   630
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   631
    i26 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   632
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   633
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   634
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   635
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   636
i27
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   637
    "return i27"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   638
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   639
    ^ i27
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   640
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   641
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   642
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   643
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   644
i27:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   645
    "set i27"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   646
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   647
    i27 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   648
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   649
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   650
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   651
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   652
i28
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   653
    "return i28"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   654
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   655
    ^ i28
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   656
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   657
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   658
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   659
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   660
i28:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   661
    "set i28"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   662
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   663
    i28 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   664
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   665
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   666
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   667
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   668
i29
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   669
    "return i29"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   670
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   671
    ^ i29
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   672
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   673
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   674
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   675
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   676
i29:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   677
    "set i29"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   678
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   679
    i29 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   680
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   681
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   682
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   683
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   684
i2:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   685
    "prototype method to set the 2nd instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   686
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   687
    i2 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   688
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   689
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   690
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   691
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   692
i3
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   693
    "prototype method to return the 3rd instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   694
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   695
    ^ i3
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   696
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   697
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   698
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   699
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   700
i30:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   701
    "set i30"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   702
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   703
    i30 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   704
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   705
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   706
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   707
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   708
i31
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   709
    "return i31"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   710
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   711
    ^ i31
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   712
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   713
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   714
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   715
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   716
i31:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   717
    "set i31"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   718
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   719
    i31 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   720
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   721
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   722
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   723
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   724
i32
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   725
    "return i32"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   726
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   727
    ^ i32
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   728
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   729
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   730
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   731
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   732
i32:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   733
    "set i32"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   734
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   735
    i32 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   736
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   737
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   738
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   739
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   740
i33
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   741
    "return i33"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   742
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   743
    ^ i33
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   744
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   745
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   746
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   747
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   748
i33:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   749
    "set i33"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   750
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   751
    i33 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   752
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   753
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   754
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   755
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   756
i34
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   757
    "return i34"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   758
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   759
    ^ i34
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   760
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   761
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   762
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   763
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   764
i34:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   765
    "set i34"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   766
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   767
    i34 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   768
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   769
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   770
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   771
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   772
i35
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   773
    "return i35"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   774
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   775
    ^ i35
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   776
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   777
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   778
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   779
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   780
i35:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   781
    "set i35"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   782
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   783
    i35 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   784
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   785
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   786
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   787
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   788
i36
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   789
    "return i36"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   790
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   791
    ^ i36
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   792
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   793
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   794
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   795
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   796
i36:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   797
    "set i36"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   798
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   799
    i36 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   800
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   801
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   802
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   803
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   804
i37
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   805
    "return i37"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   806
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   807
    ^ i37
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   808
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   809
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   810
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   811
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   812
i37:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   813
    "set i37"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   814
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   815
    i37 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   816
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   817
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   818
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   819
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   820
i38
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   821
    "return i38"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   822
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   823
    ^ i38
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   824
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   825
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   826
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   827
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   828
i38:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   829
    "set i38"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   830
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   831
    i38 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   832
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   833
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   834
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   835
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   836
i39
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   837
    "return i39"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   838
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   839
    ^ i39
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   840
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   841
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   842
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   843
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   844
i39:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   845
    "set i39"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   846
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   847
    i39 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   848
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   849
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   850
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   851
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   852
i3:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   853
    "prototype method to set the 3rd instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   854
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   855
    i3 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   856
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   857
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   858
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   859
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   860
i4
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   861
    "prototype method to return the 4th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   862
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   863
    ^ i4
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   864
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   865
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   866
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   867
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   868
i40
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   869
    "return the value of the instance variable 'i40' (automatically generated)"
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   870
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   871
    ^ i40!
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   872
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   873
i40:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   874
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   875
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   876
    i40 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   877
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   878
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   879
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   880
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   881
i41
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   882
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   883
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   884
    ^ i41
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   885
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   886
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   887
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   888
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   889
i41:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   890
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   891
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   892
    i41 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   893
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   894
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   895
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   896
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   897
i42
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   898
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   899
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   900
    ^ i42
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   901
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   902
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   903
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   904
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   905
i42:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   906
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   907
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   908
    i42 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   909
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   910
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   911
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   912
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   913
i43
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   914
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   915
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   916
    ^ i43
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   917
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   918
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   919
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   920
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   921
i43:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   922
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   923
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   924
    i43 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   925
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   926
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   927
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   928
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   929
i44
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   930
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   931
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   932
    ^ i44
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   933
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   934
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   935
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   936
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   937
i44:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   938
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   939
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   940
    i44 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   941
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   942
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   943
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   944
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   945
i45
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   946
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   947
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   948
    ^ i45
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   949
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   950
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   951
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   952
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   953
i45:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   954
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   955
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   956
    i45 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   957
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   958
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   959
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   960
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   961
i46
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   962
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   963
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   964
    ^ i46
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   965
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   966
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   967
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   968
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   969
i46:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   970
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   971
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   972
    i46 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   973
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   974
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   975
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   976
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   977
i47
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   978
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   979
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   980
    ^ i47
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   981
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   982
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   983
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   984
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   985
i47:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   986
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   987
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   988
    i47 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   989
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   990
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   991
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   992
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   993
i48
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   994
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   995
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   996
    ^ i48
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   997
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   998
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   999
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1000
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1001
i48:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1002
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1003
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1004
    i48 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1005
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1006
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1007
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1008
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1009
i49
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1010
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1011
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1012
    ^ i49
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1013
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1014
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1015
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1016
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1017
i49:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1018
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1019
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1020
    i49 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1021
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1022
    "Created: 21.9.1996 / 16:06:24 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1023
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1024
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1025
i4:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1026
    "prototype method to set the 4th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1027
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1028
    i4 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1029
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1030
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1031
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1032
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1033
i5
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1034
    "prototype method to return the 5th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1035
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1036
    ^ i5
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1037
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1038
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1039
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1040
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1041
i50
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1042
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1043
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1044
    ^ i50
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1045
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1046
    "Created: 21.9.1996 / 16:06:24 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1047
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1048
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1049
i50:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1050
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1051
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1052
    i50 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1053
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1054
    "Created: 21.9.1996 / 16:06:24 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1055
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1056
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1057
i5:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1058
    "prototype method to set the 5th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1059
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1060
    i5 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1061
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1062
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1063
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1064
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1065
i6
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1066
    "prototype method to return the 6th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1067
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1068
    ^ i6
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1069
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1070
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1071
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1072
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1073
i6:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1074
    "prototype method to set the 6th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1075
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1076
    i6 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1077
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1078
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1079
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1080
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1081
i7
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1082
    "prototype method to return the 7th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1083
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1084
    ^ i7
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1085
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1086
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1087
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1088
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1089
i7:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1090
    "prototype method to set the 7th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1091
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1092
    i7 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1093
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1094
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1095
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1096
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1097
i8
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1098
    "prototype method to return the 8th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1099
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1100
    ^ i8
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1101
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1102
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1103
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1104
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1105
i8:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1106
    "prototype method to set the 8th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1107
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1108
    i8 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1109
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1110
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1111
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1112
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1113
i9
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1114
    "prototype method to return the 9th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1115
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1116
    ^ i9
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1117
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1118
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1119
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1120
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1121
i9:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1122
    "prototype method to set the 9th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1123
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1124
    i9 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1125
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1126
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1127
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1128
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1129
instSize
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1130
    "return instSize - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1131
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1132
    ^ instSize
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1133
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1134
    "Created: 13.5.1996 / 21:19:24 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1135
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1136
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1137
instSize:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1138
    "set instSize - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1139
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1140
    instSize := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1141
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1142
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1143
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1144
429
ffc4e2ab5581 cleanup
Claus Gittinger <cg@exept.de>
parents: 343
diff changeset
  1145
methodDictionary
ffc4e2ab5581 cleanup
Claus Gittinger <cg@exept.de>
parents: 343
diff changeset
  1146
    "return the methodDictionary - required class protocol"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1147
429
ffc4e2ab5581 cleanup
Claus Gittinger <cg@exept.de>
parents: 343
diff changeset
  1148
    ^ methodDictionary
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1149
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1150
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1151
otherSupers
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1152
    "return otherSupers"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1153
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1154
    ^ otherSupers
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1155
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1156
    "Created: 13.5.1996 / 21:19:24 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1157
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1158
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1159
otherSupers:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1160
    "set otherSupers"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1161
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1162
    otherSupers := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1163
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1164
    "Created: 13.5.1996 / 21:19:24 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1165
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1166
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1167
superclass
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1168
    "return superclass - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1169
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1170
    ^ superclass
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1171
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1172
    "Created: 13.5.1996 / 21:19:23 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1173
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1174
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1175
superclass:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1176
    "set superclass - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1177
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1178
    superclass := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1179
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1180
    "Created: 13.5.1996 / 21:19:23 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1181
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1182
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1183
!Structure methodsFor:'stubs'!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1184
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1185
doesNotUnderstand:aMessage
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1186
    "catch unimplemented messages - pass some to the superclass.
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1187
     Notice that although this method calls super messages,
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1188
     actual instances will have no valid superClass."
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1189
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1190
    |sel args names sz s idx|
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1191
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1192
    "/ instance protocol
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1193
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1194
    sel := aMessage selector.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1195
    args := aMessage arguments.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1196
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1197
    sel == #displayString ifTrue:[
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1198
       s := WriteStream on:''.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1199
       s nextPutAll:'Structure('.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1200
        names := self allInstVarNames.
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1201
        names notNil ifTrue:[
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1202
            names keysAndValuesDo:[:idx :nm |
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1203
                s nextPutAll:nm; nextPutAll:'->'.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1204
                s nextPutAll:(self at:idx) displayString.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1205
                s space
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1206
            ].
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1207
        ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1208
        s nextPutAll:')'.
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1209
        ^ s contents
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1210
    ].
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1211
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1212
    sel == #basicInspect ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1213
        ^ InspectorView openOn:self
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1214
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1215
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1216
    sel == #inspect ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1217
        ^ InspectorView openOn:self
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1218
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1219
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1220
    sel == #instVarAt: ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1221
        |nr|
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1222
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1223
        nr := args at:1.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1224
        nr == 1 ifTrue:[^ i1].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1225
        nr == 2 ifTrue:[^ i2].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1226
        nr == 3 ifTrue:[^ i3].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1227
        nr == 4 ifTrue:[^ i4].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1228
        nr == 5 ifTrue:[^ i5].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1229
        nr == 6 ifTrue:[^ i6].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1230
        ^ nil
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1231
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1232
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1233
    (sel == #size
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1234
    or:[sel == #basicSize]) ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1235
         ^ super basicSize
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1236
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1237
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1238
    (sel == #at:
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1239
    or:[sel == #basicAt:]) ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1240
         ^ super basicAt:(args at:1)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1241
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1242
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1243
    (sel == #at:put:
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1244
    or:[sel == #basicAt:put:]) ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1245
         ^ super basicAt:(args at:1) put:(args at:2)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1246
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1247
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1248
    sel == #== ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1249
         ^ self == (args at:1)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1250
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1251
945
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1252
    sel == #clone ifTrue:[
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1253
         ^ super clone
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1254
    ].
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1255
    sel == #shallowCopy ifTrue:[
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1256
         ^ super shallowCopy
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1257
    ].
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1258
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1259
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1260
    "/ class protocol
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1261
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1262
    (sel := aMessage selector) == #name ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1263
        ^ 'Structure'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1264
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1265
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1266
    sel == #isVariable ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1267
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1268
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1269
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1270
    sel == #isClass ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1271
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1272
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1273
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1274
    sel == #isMeta ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1275
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1276
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1277
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1278
    sel == #isBehavior ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1279
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1280
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1281
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1282
    sel == #respondsTo: ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1283
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1284
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1285
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1286
    sel == #whichClassIncludesSelector: ifTrue:[
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1287
         ^ nil
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1288
    ].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1289
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1290
    sel == #evaluatorClass ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1291
        ^ Compiler
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1292
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1293
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1294
    sel == #classNameWithArticle ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1295
         ^ self displayString
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1296
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1297
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1298
    sel == #allSubclasses ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1299
        ^ #()
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1300
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1301
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1302
    sel == #allClassVarNames ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1303
        ^ #()
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1304
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1305
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1306
    sel == #allInstVarNames ifTrue:[
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1307
        methodDictionary isNil ifTrue:[
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1308
            'oops - nil ethodDict' printCR.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1309
            ^ #()
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1310
        ].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1311
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1312
        sz := super basicSize.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1313
        names := Array new:sz.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1314
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1315
        methodDictionary keysAndValuesDo:[:sel :mthd|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1316
            |index mysel|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1317
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1318
            (sel endsWith:$:) ifFalse:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1319
                (sel ~~ #class) ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1320
                    "/
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1321
                    "/ which method is it ?
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1322
                    "/
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1323
                    idx := 1.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1324
                    [idx <= sz] whileTrue:[
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1325
                        mysel := ('i' , idx printString) asSymbol.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1326
                        mthd == (Structure compiledMethodAt:mysel) ifTrue:[
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1327
                            names at:idx put:sel.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1328
                            idx := sz.   "/ break
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1329
                        ].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1330
                        idx := idx + 1.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1331
                    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1332
                ]
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1333
            ]
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1334
        ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1335
        
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1336
         ^ names
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1337
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1338
943
5a9699ed4b9b give the dummy class another name, to avoid confusion with
Claus Gittinger <cg@exept.de>
parents: 654
diff changeset
  1339
    (sel == #instSize) ifTrue:[
5a9699ed4b9b give the dummy class another name, to avoid confusion with
Claus Gittinger <cg@exept.de>
parents: 654
diff changeset
  1340
         ^ instSize
5a9699ed4b9b give the dummy class another name, to avoid confusion with
Claus Gittinger <cg@exept.de>
parents: 654
diff changeset
  1341
    ].
5a9699ed4b9b give the dummy class another name, to avoid confusion with
Claus Gittinger <cg@exept.de>
parents: 654
diff changeset
  1342
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1343
    'Structure [warning]: return nil for: ' print.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1344
    aMessage print.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1345
    ' args ' print. args printCR.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1346
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1347
    ^ nil.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1348
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1349
    "Created: 13.5.1996 / 20:22:22 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1350
    "Modified: 13.5.1996 / 21:12:54 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1351
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1352
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1353
!Structure class methodsFor:'documentation'!
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1354
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1355
version
953
e863f0860a7e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 945
diff changeset
  1356
    ^ '$Header: /cvs/stx/stx/libcomp/Structure.st,v 1.10 1999-09-03 15:36:50 cg Exp $'
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1357
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1358
Structure initialize!