Structure.st
author Claus Gittinger <cg@exept.de>
Mon, 12 Jul 1999 17:13:44 +0200
changeset 904 32b8cf2e577d
parent 654 da9ab8a701fd
child 943 5a9699ed4b9b
permissions -rw-r--r--
plausibility checks
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).
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   128
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   129
        ReadAccessMethods := (1 to:50) 
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   130
                                collect:[:i | |m|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   131
                                            m := self compiledMethodAt:('i', i printString) asSymbol.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   132
                                            (m notNil and:[m isLazyMethod]) ifTrue:[m makeRealMethod].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   133
                                            m
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   134
                                ].
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   135
        WriteAccessMethods := (1 to:50) 
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   136
                                collect:[:i | |m|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   137
                                            m := self compiledMethodAt:('i', i printString , ':') asSymbol.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   138
                                            (m notNil and:[m isLazyMethod]) ifTrue:[m makeRealMethod].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   139
                                            m
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   140
                                ].
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   141
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   142
        OtherMethods := OrderedCollection new.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   143
        OtherMethods 
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   144
            add:(self compiledMethodAt:#doesNotUnderstand:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   145
            add:(Object compiledMethodAt:#class);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   146
            add:(Object compiledMethodAt:#identityHash);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   147
            add:(Object compiledMethodAt:#at:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   148
            add:(Object compiledMethodAt:#at:put:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   149
            add:(Object compiledMethodAt:#basicAt:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   150
            add:(Object compiledMethodAt:#basicAt:put:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   151
            add:(Object compiledMethodAt:#printString);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   152
            add:(Object compiledMethodAt:#printOn:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   153
            add:(Object compiledMethodAt:#addDependent:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   154
            add:(Object compiledMethodAt:#removeDependent:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   155
            add:(Object compiledMethodAt:#dependents);
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:#perform:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   158
            add:(Object compiledMethodAt:#perform:with:).
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   159
        OtherMethods := OtherMethods asArray.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   160
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   161
        OtherSelectors := #(#doesNotUnderstand: 
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   162
                            #class #identityHash
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   163
                            #at: #at:put: #basicAt: #basicAt:put: 
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   164
                            #printString #printOn:
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   165
                            #addDependent: #removeDependent: #dependents #dependents:
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   166
                            #perform: #perform:with:).
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   167
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   168
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   169
    "
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   170
     OneInstance := nil.
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   171
     self initialize.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   172
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   174
    "Modified: 21.9.1996 / 16:01:48 / cg"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   175
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   176
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   177
!Structure class methodsFor:'instance creation'!
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   178
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   179
newWith:names
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
    "return a new structure containing fields as passed in the names collection.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
     The argument must be a sequenceable collection of symbols.
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   182
     The new structures values are all initialized to nil."
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   183
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   184
     ^ self newWith:names values:nil
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   185
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   186
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   187
     Structure newWith:#(foo bar)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   188
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   189
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   190
    "Created: 13.5.1996 / 20:03:42 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   191
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   192
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   193
newWith:names values:values
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   194
    "return a new structure containing fields as passed in the names collection.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
     The argument must be a sequenceable collection of symbols.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   196
     The new structures values are set to corresponding values from the second argument, values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   197
654
da9ab8a701fd *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   198
    |arr sels mthds nInsts|
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   199
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   200
    nInsts := names size.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   201
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   202
    sels := names collect:[:nm | nm asSymbol].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   203
    sels := sels , (names collect:[:nm | (nm , ':') asSymbol]).
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   204
    sels := sels , OtherSelectors.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   205
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   206
    mthds := ReadAccessMethods copyTo:nInsts. 
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   207
    mthds := mthds , (WriteAccessMethods copyTo:nInsts).
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   208
    mthds := mthds , OtherMethods.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   210
    "/ create a prototype object as an array ...
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   211
    "/ the object will be its own class, and have the indexable flag bit set;
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   212
    "/ therefore, the first 5 instVars must correspond to Behavior instvars,
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   213
    "/ the remaining ones will be the indexed instvars.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   214
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   215
    arr := Array new:(nInsts + 5).
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   216
    arr at:1 put:nil.                                                   "/ superclass
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   217
    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
   218
    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
   219
    arr at:4 put:nil.                                                   "/ other supers
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   220
    arr at:5 put:5.                                                     "/ instSize 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   221
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   222
    "/ now, the big trick ...
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   223
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   224
    arr changeClassTo:DummyClass.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   225
    arr changeClassTo:arr.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   226
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   227
    values notNil ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   228
        values keysAndValuesDo:[:i :val |
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   229
            arr at:i put:val
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   230
        ]
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
    ^ arr.  
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   234
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   235
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   236
     Structure newWith:#(foo bar) values:#('foo' 'bar')
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   237
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   238
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   239
    "Created: 13.5.1996 / 20:03:42 / cg"
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   240
    "Modified: 3.7.1996 / 10:24:43 / cg"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   241
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   242
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   243
with:assoc
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   244
    "return a new structure with a single field, named to the assocs key,
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   245
     and initialized with assocs value."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
     ^ self newWith:(Array with:assoc key) values:(Array with:assoc value)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
     Structure with:#foo->'foo'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
    "
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
with:assoc1 with:assoc2
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
    "return a new structure with two fields, named as defined by the arguments'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   256
     keys, and and initialized with the assocs' values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   257
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   258
     ^ self newWith:(Array with:assoc1 key with:assoc2 key) 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   259
             values:(Array with:assoc1 value with:assoc2 value)
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   260
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   261
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   262
     Structure with:#foo->'foo' with:#bar->'bar'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   263
    "
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
with:assoc1 with:assoc2 with:assoc3
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   267
    "return a new structure with three fields, named as defined by the arguments'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   268
     keys, and and initialized with the assocs' values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   269
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   270
     ^ 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
   271
             values:(Array with:assoc1 value with:assoc2 value with:assoc3 value)
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   272
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   273
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   274
     Structure with:#foo->'foo' with:#bar->'bar' with:#baz->'baz'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   275
    "
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
with:assoc1 with:assoc2 with:assoc3 with:assoc4
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   279
    "return a new structure with four fields, named as defined by the arguments'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   280
     keys, and and initialized with the assocs' values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   281
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   282
     ^ self newWith:(Array with:assoc1 key with:assoc2 key 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   283
                           with:assoc3 key with:assoc4 key) 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   284
             values:(Array with:assoc1 value with:assoc2 value 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   285
                           with:assoc3 value with:assoc4 value)
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   286
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   287
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   288
     Structure with:#foo->'foo' with:#bar->'bar' with:#baz->'baz' with:#hello->'hello'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   289
    "
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
with:assoc1 with:assoc2 with:assoc3 with:assoc4 with:assoc5
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   293
    "return a new structure with five fields, named as defined by the arguments'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   294
     keys, and and initialized with the assocs' values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   295
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   296
     ^ self newWith:(Array with:assoc1 key with:assoc2 key 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   297
                           with:assoc3 key with:assoc4 key      
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   298
                           with:assoc5 key) 
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   299
             values:(Array with:assoc1 value with:assoc2 value 
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   300
                           with:assoc3 value with:assoc4 value 
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   301
                           with:assoc5 value)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   302
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   303
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   304
     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
   305
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   306
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   307
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   308
!Structure class methodsFor:'special'!
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   309
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   310
primAddSelector:newSelector withMethod:newMethod
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   311
    "must reinit myself when methods are accepted."
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   312
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   313
    |val|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   314
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   315
    val := super primAddSelector:newSelector withMethod:newMethod.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   316
    OneInstance := nil.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   317
    self initialize.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   318
    ^ val
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   319
! !
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   320
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   321
!Structure methodsFor:'accessing'!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   322
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   323
flags
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   324
    "return the flags - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   325
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   326
    ^ flags
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   327
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   328
    "Created: 13.5.1996 / 21:19:23 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   329
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   330
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   331
flags:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   332
    "set the flags - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   333
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   334
    flags := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   335
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   336
    "Created: 13.5.1996 / 21:19:23 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   337
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   338
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   339
i1
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   340
    "prototype method to return the first instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   341
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   342
    ^ i1
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   343
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   344
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   345
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   346
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   347
i10
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   348
    "prototype method to return the 10th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   349
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   350
    ^ i10
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   351
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   352
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   353
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   354
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   355
i10:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   356
    "prototype method to set the 10th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   357
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   358
    i10 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   359
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   360
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   361
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   362
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   363
i11
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   364
    "return i11"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   365
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   366
    ^ i11
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   367
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   368
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   369
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   370
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   371
i11:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   372
    "prototype method to set the 11th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   373
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   374
    i11 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   375
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   376
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   377
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   378
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   379
i12
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   380
    "return i12"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   381
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   382
    ^ i12
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   383
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   384
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   385
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   386
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   387
i12:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   388
    "set i12"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   389
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   390
    i12 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   391
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   392
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   393
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   394
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   395
i13
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   396
    "return i13"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   397
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   398
    ^ i13
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   399
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   400
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   401
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   402
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   403
i13:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   404
    "set i13"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   405
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   406
    i13 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   407
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   408
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   409
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   410
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   411
i14
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   412
    "return i14"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   413
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   414
    ^ i14
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   415
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   416
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   417
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   418
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   419
i14:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   420
    "set i14"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   421
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   422
    i14 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   423
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   424
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   425
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   426
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   427
i15
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   428
    "return i15"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   429
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   430
    ^ i15
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   431
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   432
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   433
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   434
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   435
i15:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   436
    "set i15"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   437
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   438
    i15 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   439
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   440
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   441
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   442
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   443
i16
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   444
    "return i16"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   445
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   446
    ^ i16
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   447
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   448
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   449
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   450
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   451
i16:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   452
    "set i16"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   453
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   454
    i16 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   455
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   456
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   457
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   458
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   459
i17
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   460
    "return i17"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   461
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   462
    ^ i17
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   463
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   464
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   465
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   466
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   467
i17:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   468
    "set i17"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   469
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   470
    i17 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   471
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   472
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   473
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   474
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   475
i18
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   476
    "return i18"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   477
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   478
    ^ i18
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   479
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   480
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   481
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   482
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   483
i18:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   484
    "set i18"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   485
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   486
    i18 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   487
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   488
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   489
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   490
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   491
i19
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   492
    "return i19"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   493
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   494
    ^ i19
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   495
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   496
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   497
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   498
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   499
i19:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   500
    "set i19"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   501
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   502
    i19 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   503
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   504
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   505
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   506
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   507
i1:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   508
    "prototype method to set the 1st instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   509
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   510
    i1 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   511
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   512
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   513
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   514
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   515
i2
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   516
    "prototype method to return the 2nd instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   517
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   518
    ^ i2
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   519
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   520
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   521
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   522
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   523
i20
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   524
    "return i20"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   525
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   526
    ^ i20
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   527
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   528
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   529
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   530
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   531
i20:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   532
    "set i20"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   533
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   534
    i20 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   535
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   536
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   537
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   538
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   539
i21
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   540
    "return i21"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   541
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   542
    ^ i21
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   543
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   544
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   545
!
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
i21:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   548
    "set i21"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   549
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   550
    i21 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   551
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   552
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   553
!
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
i22
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   556
    "return i22"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   557
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   558
    ^ i22
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   559
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   560
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   561
!
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
i22:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   564
    "set i22"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   565
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   566
    i22 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   567
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   568
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   569
!
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
i23
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   572
    "return i23"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   573
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   574
    ^ i23
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   575
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   576
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   577
!
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
i23:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   580
    "set i23"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   581
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   582
    i23 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   583
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   584
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   585
!
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
i24
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   588
    "return i24"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   589
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   590
    ^ i24
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   591
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   592
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   593
!
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
i24:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   596
    "set i24"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   597
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   598
    i24 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   599
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   600
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   601
!
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
i25
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   604
    "return i25"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   605
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   606
    ^ i25
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   607
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   608
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   609
!
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
i25:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   612
    "set i25"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   613
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   614
    i25 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   615
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   616
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   617
!
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
i26
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   620
    "return i26"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   621
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   622
    ^ i26
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   623
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   624
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   625
!
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
i26:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   628
    "set i26"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   629
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   630
    i26 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   631
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   632
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   633
!
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
i27
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   636
    "return i27"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   637
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   638
    ^ i27
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   639
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   640
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   641
!
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
i27:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   644
    "set i27"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   645
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   646
    i27 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   647
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   648
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   649
!
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
i28
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   652
    "return i28"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   653
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   654
    ^ i28
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   655
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   656
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   657
!
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
i28:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   660
    "set i28"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   661
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   662
    i28 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   663
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   664
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   665
!
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
i29
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   668
    "return i29"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   669
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   670
    ^ i29
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   671
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   672
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   673
!
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
i29:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   676
    "set i29"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   677
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   678
    i29 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   679
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   680
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   681
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   682
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   683
i2:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   684
    "prototype method to set the 2nd instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   685
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   686
    i2 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   687
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   688
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   689
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   690
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   691
i3
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   692
    "prototype method to return the 3rd instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   693
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   694
    ^ i3
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   695
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   696
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   697
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   698
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   699
i30:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   700
    "set i30"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   701
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   702
    i30 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   703
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   704
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   705
!
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
i31
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   708
    "return i31"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   709
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   710
    ^ i31
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   711
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   712
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   713
!
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
i31:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   716
    "set i31"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   717
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   718
    i31 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   719
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   720
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   721
!
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
i32
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   724
    "return i32"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   725
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   726
    ^ i32
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   727
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   728
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   729
!
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
i32:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   732
    "set i32"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   733
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   734
    i32 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   735
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   736
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   737
!
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
i33
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   740
    "return i33"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   741
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   742
    ^ i33
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   743
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   744
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   745
!
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
i33:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   748
    "set i33"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   749
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   750
    i33 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   751
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   752
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   753
!
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
i34
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   756
    "return i34"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   757
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   758
    ^ i34
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   759
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   760
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   761
!
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
i34:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   764
    "set i34"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   765
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   766
    i34 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   767
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   768
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   769
!
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
i35
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   772
    "return i35"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   773
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   774
    ^ i35
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   775
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   776
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   777
!
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
i35:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   780
    "set i35"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   781
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   782
    i35 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   783
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   784
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   785
!
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
i36
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   788
    "return i36"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   789
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   790
    ^ i36
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   791
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   792
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   793
!
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
i36:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   796
    "set i36"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   797
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   798
    i36 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   799
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   800
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   801
!
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
i37
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   804
    "return i37"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   805
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   806
    ^ i37
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   807
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   808
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   809
!
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
i37:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   812
    "set i37"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   813
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   814
    i37 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   815
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   816
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   817
!
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
i38
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   820
    "return i38"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   821
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   822
    ^ i38
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   823
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   824
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   825
!
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
i38:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   828
    "set i38"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   829
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   830
    i38 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   831
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   832
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   833
!
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
i39
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   836
    "return i39"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   837
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   838
    ^ i39
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   839
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   840
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   841
!
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
i39:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   844
    "set i39"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   845
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   846
    i39 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   847
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   848
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   849
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   850
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   851
i3:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   852
    "prototype method to set the 3rd instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   853
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   854
    i3 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   855
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   856
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   857
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   858
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   859
i4
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   860
    "prototype method to return the 4th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   861
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   862
    ^ i4
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   863
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   864
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   865
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   866
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   867
i40
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   868
    "return the value of the instance variable 'i40' (automatically generated)"
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   869
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   870
    ^ i40!
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   871
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   872
i40:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   873
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   874
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   875
    i40 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   876
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   877
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   878
!
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
i41
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   881
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   882
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   883
    ^ i41
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   884
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   885
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   886
!
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
i41:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   889
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   890
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   891
    i41 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   892
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   893
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   894
!
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
i42
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   897
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   898
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   899
    ^ i42
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   900
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   901
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   902
!
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
i42:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   905
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   906
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   907
    i42 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   908
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   909
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   910
!
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
i43
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   913
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   914
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   915
    ^ i43
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   916
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   917
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   918
!
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
i43:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   921
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   922
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   923
    i43 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   924
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   925
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   926
!
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
i44
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   929
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   930
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   931
    ^ i44
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   932
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   933
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   934
!
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
i44:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   937
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   938
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   939
    i44 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   940
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   941
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   942
!
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
i45
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   945
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   946
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   947
    ^ i45
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   948
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   949
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   950
!
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
i45:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   953
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   954
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   955
    i45 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   956
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   957
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   958
!
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
i46
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   961
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   962
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   963
    ^ i46
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   964
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   965
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   966
!
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
i46:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   969
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   970
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   971
    i46 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   972
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   973
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   974
!
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
i47
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   977
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   978
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   979
    ^ i47
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   980
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   981
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   982
!
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
i47:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   985
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   986
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   987
    i47 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   988
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   989
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   990
!
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
i48
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   993
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   994
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   995
    ^ i48
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   996
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   997
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   998
!
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
i48:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1001
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1002
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1003
    i48 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1004
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1005
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1006
!
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
i49
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1009
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1010
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1011
    ^ i49
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1012
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1013
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1014
!
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
i49:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1017
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1018
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1019
    i49 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1020
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1021
    "Created: 21.9.1996 / 16:06:24 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1022
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1023
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1024
i4:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1025
    "prototype method to set the 4th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1026
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1027
    i4 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1028
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1029
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1030
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1031
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1032
i5
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1033
    "prototype method to return the 5th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1034
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1035
    ^ i5
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1036
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1037
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1038
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1039
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1040
i50
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1041
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1042
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1043
    ^ i50
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1044
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1045
    "Created: 21.9.1996 / 16:06:24 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1046
!
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
i50:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1049
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1050
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1051
    i50 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1052
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1053
    "Created: 21.9.1996 / 16:06:24 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1054
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1055
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1056
i5:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1057
    "prototype method to set the 5th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1058
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1059
    i5 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1060
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1061
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1062
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1063
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1064
i6
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1065
    "prototype method to return the 6th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1066
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1067
    ^ i6
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1068
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1069
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1070
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1071
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1072
i6:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1073
    "prototype method to set the 6th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1074
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1075
    i6 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1076
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1077
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1078
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1079
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1080
i7
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1081
    "prototype method to return the 7th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1082
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1083
    ^ i7
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1084
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1085
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1086
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1087
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1088
i7:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1089
    "prototype method to set the 7th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1090
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1091
    i7 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1092
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1093
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1094
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1095
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1096
i8
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1097
    "prototype method to return the 8th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1098
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1099
    ^ i8
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1100
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1101
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1102
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1103
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1104
i8:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1105
    "prototype method to set the 8th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1106
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1107
    i8 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1108
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1109
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1110
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1111
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1112
i9
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1113
    "prototype method to return the 9th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1114
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1115
    ^ i9
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1116
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1117
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1118
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1119
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1120
i9:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1121
    "prototype method to set the 9th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1122
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1123
    i9 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1124
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1125
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1126
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1127
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1128
instSize
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1129
    "return instSize - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1130
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1131
    ^ instSize
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1132
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1133
    "Created: 13.5.1996 / 21:19:24 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1134
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1135
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1136
instSize:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1137
    "set instSize - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1138
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1139
    instSize := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1140
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1141
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1142
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1143
429
ffc4e2ab5581 cleanup
Claus Gittinger <cg@exept.de>
parents: 343
diff changeset
  1144
methodDictionary
ffc4e2ab5581 cleanup
Claus Gittinger <cg@exept.de>
parents: 343
diff changeset
  1145
    "return the methodDictionary - required class protocol"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1146
429
ffc4e2ab5581 cleanup
Claus Gittinger <cg@exept.de>
parents: 343
diff changeset
  1147
    ^ methodDictionary
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1148
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1149
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1150
otherSupers
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1151
    "return otherSupers"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1152
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1153
    ^ otherSupers
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1154
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1155
    "Created: 13.5.1996 / 21:19:24 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1156
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1157
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1158
otherSupers:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1159
    "set otherSupers"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1160
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1161
    otherSupers := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1162
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1163
    "Created: 13.5.1996 / 21:19:24 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1164
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1165
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1166
superclass
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1167
    "return superclass - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1168
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1169
    ^ superclass
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1170
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1171
    "Created: 13.5.1996 / 21:19:23 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1172
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1173
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1174
superclass:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1175
    "set superclass - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1176
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1177
    superclass := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1178
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1179
    "Created: 13.5.1996 / 21:19:23 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1180
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1181
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1182
!Structure methodsFor:'stubs'!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1183
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1184
doesNotUnderstand:aMessage
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1185
    "catch unimplemented messages - pass some to the superclass.
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1186
     Notice that although this method calls super messages,
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1187
     actual instances will have no valid superClass."
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1188
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1189
    |sel args names sz s idx|
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1190
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1191
    "/ instance protocol
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1192
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1193
    sel := aMessage selector.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1194
    args := aMessage arguments.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1195
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1196
    sel == #displayString ifTrue:[
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1197
       s := WriteStream on:''.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1198
       s nextPutAll:'Structure('.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1199
        names := self allInstVarNames.
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1200
        names notNil ifTrue:[
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1201
            names keysAndValuesDo:[:idx :nm |
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1202
                s nextPutAll:nm; nextPutAll:'->'.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1203
                s nextPutAll:(self at:idx) displayString.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1204
                s space
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1205
            ].
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1206
        ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1207
        s nextPutAll:')'.
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1208
        ^ s contents
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1209
    ].
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1210
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1211
    sel == #basicInspect ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1212
        ^ InspectorView openOn:self
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1213
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1214
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1215
    sel == #inspect ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1216
        ^ InspectorView openOn:self
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1217
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1218
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1219
    sel == #instVarAt: ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1220
        |nr|
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1221
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1222
        nr := args at:1.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1223
        nr == 1 ifTrue:[^ i1].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1224
        nr == 2 ifTrue:[^ i2].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1225
        nr == 3 ifTrue:[^ i3].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1226
        nr == 4 ifTrue:[^ i4].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1227
        nr == 5 ifTrue:[^ i5].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1228
        nr == 6 ifTrue:[^ i6].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1229
        ^ nil
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1230
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1231
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1232
    (sel == #size
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1233
    or:[sel == #basicSize]) ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1234
         ^ super basicSize
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1235
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1236
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1237
    (sel == #at:
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1238
    or:[sel == #basicAt:]) ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1239
         ^ super basicAt:(args at:1)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1240
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1241
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1242
    (sel == #at:put:
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1243
    or:[sel == #basicAt:put:]) ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1244
         ^ super basicAt:(args at:1) put:(args at:2)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1245
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1246
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1247
    sel == #== ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1248
         ^ self == (args at:1)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1249
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1250
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1251
    "/ class protocol
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1252
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1253
    (sel := aMessage selector) == #name ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1254
        ^ 'Structure'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1255
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1256
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1257
    sel == #isVariable ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1258
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1259
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1260
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1261
    sel == #isClass ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1262
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1263
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1264
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1265
    sel == #isMeta ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1266
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1267
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1268
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1269
    sel == #isBehavior ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1270
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1271
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1272
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1273
    sel == #respondsTo: ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1274
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1275
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1276
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1277
    sel == #whichClassIncludesSelector: ifTrue:[
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1278
         ^ nil
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1279
    ].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1280
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1281
    sel == #evaluatorClass ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1282
        ^ Compiler
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1283
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1284
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1285
    sel == #classNameWithArticle ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1286
         ^ self displayString
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1287
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1288
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1289
    sel == #allSubclasses ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1290
        ^ #()
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1291
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1292
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1293
    sel == #allClassVarNames ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1294
        ^ #()
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1295
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1296
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1297
    sel == #allInstVarNames ifTrue:[
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1298
        methodDictionary isNil ifTrue:[
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1299
            'oops - nil ethodDict' printCR.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1300
            ^ #()
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1301
        ].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1302
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1303
        sz := super basicSize.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1304
        names := Array new:sz.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1305
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1306
        methodDictionary keysAndValuesDo:[:sel :mthd|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1307
            |index mysel|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1308
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1309
            (sel endsWith:$:) ifFalse:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1310
                (sel ~~ #class) ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1311
                    "/
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1312
                    "/ which method is it ?
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1313
                    "/
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1314
                    idx := 1.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1315
                    [idx <= sz] whileTrue:[
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1316
                        mysel := ('i' , idx printString) asSymbol.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1317
                        mthd == (Structure compiledMethodAt:mysel) ifTrue:[
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1318
                            names at:idx put:sel.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1319
                            idx := sz.   "/ break
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1320
                        ].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1321
                        idx := idx + 1.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1322
                    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1323
                ]
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1324
            ]
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1325
        ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1326
        
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1327
         ^ names
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1328
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1329
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1330
    'Structure [warning]: return nil for: ' print.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1331
    aMessage print.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1332
    ' args ' print. args printCR.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1333
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1334
    ^ nil.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1335
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1336
    "Created: 13.5.1996 / 20:22:22 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1337
    "Modified: 13.5.1996 / 21:12:54 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1338
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1339
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1340
!Structure class methodsFor:'documentation'!
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1341
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1342
version
654
da9ab8a701fd *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
  1343
    ^ '$Header: /cvs/stx/stx/libcomp/Structure.st,v 1.7 1998-03-04 17:46:52 cg Exp $'
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1344
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1345
Structure initialize!