Structure.st
author Jan Vrany <jan.vrany@labware.com>
Thu, 27 Oct 2022 14:53:59 +0100
branchjv
changeset 4735 3b11fb3ede98
parent 4720 f34e80b9a88f
permissions -rw-r--r--
Allow single underscore as method / block argument and temporaries This commit is a follow up for 38b221e.
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
"
1129
4951097b5191 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
    12
"{ Package: 'stx:libcomp' }"
4951097b5191 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
    13
3626
690681bf1976 class: Structure
Stefan Vogel <sv@exept.de>
parents: 3403
diff changeset
    14
"{ NameSpace: Smalltalk }"
690681bf1976 class: Structure
Stefan Vogel <sv@exept.de>
parents: 3403
diff changeset
    15
3903
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
    16
Behavior subclass:#Structure
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
    17
	instanceVariableNames:'i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 i16 i17 i18
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
    18
		i19 i20 i21 i22 i23 i24 i25 i26 i27 i28 i29 i30 i31 i32 i33 i34
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
    19
		i35 i36 i37 i38 i39 i40 i41 i42 i43 i44 i45 i46 i47 i48 i49 i50'
4248
6ad8e090ff16 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4170
diff changeset
    20
	classVariableNames:'DummyClass IndexOfFlags IndexOfInstSize IndexOfMethodDictionary
6ad8e090ff16 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4170
diff changeset
    21
		OneInstance OtherMethods OtherSelectors ReadAccessMethods
6ad8e090ff16 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4170
diff changeset
    22
		WriteAccessMethods'
2351
4371af1faf81 changed: #newWith:values:
Stefan Vogel <sv@exept.de>
parents: 2341
diff changeset
    23
	poolDictionaries:''
4248
6ad8e090ff16 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4170
diff changeset
    24
	category:'Kernel-Classes'
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    27
!Structure class methodsFor:'documentation'!
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
283
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    29
copyright
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
 COPYRIGHT (c) 1996 by Claus Gittinger
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    32
              All Rights Reserved
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    33
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    34
 This software is furnished under a license and may be used
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    35
 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
    36
 inclusion of the above copyright notice.   This software may not
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    37
 be provided or otherwise made available to, or used by, any
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    38
 other person.  No title to or ownership of the software is
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    39
 hereby transferred.
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    40
"
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    41
!
3fdbe3ef9a1d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 282
diff changeset
    42
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
documentation
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
"
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    45
    This is an experimental class, stressing the metaObject capabilities.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    47
    Structures are objects which are class-less,
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    48
    only holding some values, and provide a protocol to access
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    49
    those fields. In addition, they support the array-protocol,
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    50
    so they can be used as backward compatible replacements in
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
    places where arrays were returned.
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    52
    (However, we recommend using private classes, since they are easier
1037
6c3b1d28ae03 comment
Claus Gittinger <cg@exept.de>
parents: 953
diff changeset
    53
     to understand and maintain).
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    54
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    55
    For example, some structure object can be create with:
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    56
        ^ Structure with:#foo->'someFooValue' with:#bar->'someBarValue'
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
    and access these values either as:
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    59
        retVal at:1     -> returns the foo instvar value
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    60
        retVal at:2     -> returns the bar instvar value
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
    or (much more convenient and readable) as:
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    62
        retVal foo
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    63
        retVal bar
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    65
    Implementation note:
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    66
        this is a very tricky (but fully legal) implementation,
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
    67
        creating an object which is its own class.
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    68
        Therefore, no additional overhead by extra (class) objects is involved.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    69
        These are very lightweight objects.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    70
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    71
        Another prove that smalltalk is a powerful & flexible programming language.
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    72
        However, some smalltalk systems crash if your try this ;-)
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
    74
    CAVEAT:
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    75
        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
    76
        a maximum of 50 instance variables is allowed.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
    77
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    78
    [WARNING:]
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    79
        this is an experimental goody - for our amusement and not meant
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    80
        to be used in real applications.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    81
        It may be removed without notice and/or no longer maintained in the furure.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
    82
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    83
    [author:]
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    84
        Claus Gittinger
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
    [see also:]
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
    87
        Array
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    88
        Behavior
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    90
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    91
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    92
examples
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    93
"
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    94
  access is possibly by name:
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    95
                                                                [exBegin]
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    96
    Transcript showCR:
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    97
        (Structure with:#foo->'foo value') foo
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    98
                                                                [exEnd]
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    99
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   100
  AND also by index (for backward compatibility):
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   101
                                                                [exBegin]
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   102
    Transcript showCR:
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   103
        ((Structure with:#foo->'foo value') at:1)
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   104
                                                                [exEnd]
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   105
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   106
  it can be inspected:
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   107
                                                                [exBegin]
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   108
    (Structure with:#foo->'foo value') inspect
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   109
                                                                [exEnd]
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   110
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   111
  and presents its contents nicely:
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   112
                                                                [exBegin]
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   113
    (Structure with:#foo->'foo value' with:#bar->'bar value') inspect
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   114
                                                                [exEnd]
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   115
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   116
                                                                [exBegin]
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   117
    (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
   118
                                                                [exEnd]
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   119
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   120
"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   121
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   122
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   123
!Structure class methodsFor:'initialization'!
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   124
3627
4638af476fae class: Structure
Claus Gittinger <cg@exept.de>
parents: 3626
diff changeset
   125
initializeOneInstance
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   126
    OneInstance isNil ifTrue:[
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   127
        "/ check if the first few instvars correspond to Behavior's definition:
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   128
3903
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
   129
"/        (Behavior instSize + 1) == (self instanceVariableNames indexOf:#i1) ifFalse:[
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
   130
"/            self halt:'you must change the definition of this class (instvars before i1 must match behavior''s)'.
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
   131
"/        ].
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
   132
        IndexOfFlags := Behavior instVarIndexFor:'flags'.
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
   133
        IndexOfMethodDictionary := Behavior instVarIndexFor:'methodDictionary'. 
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
   134
        IndexOfInstSize := Behavior instVarIndexFor:'instSize'. 
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
   135
        
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   136
        OneInstance := self basicNew.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   137
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   138
        DummyClass := Behavior shallowCopy.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   139
        DummyClass flags:(Behavior flagBehavior bitOr:Behavior flagPointers).
953
e863f0860a7e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 945
diff changeset
   140
        DummyClass setName:#DummyClass.
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   141
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   142
        ReadAccessMethods := (1 to:50)
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   143
                                collect:[:i | |m|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   144
                                            m := self compiledMethodAt:('i', i printString) asSymbol.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   145
                                            (m notNil and:[m isLazyMethod]) ifTrue:[m makeRealMethod].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   146
                                            m
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   147
                                ].
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   148
        WriteAccessMethods := (1 to:50)
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   149
                                collect:[:i | |m|
3403
1ae8bfefe251 class: Structure
Claus Gittinger <cg@exept.de>
parents: 2351
diff changeset
   150
                                            m := self compiledMethodAt:('i', i printString) asMutator.
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   151
                                            (m notNil and:[m isLazyMethod]) ifTrue:[m makeRealMethod].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   152
                                            m
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   153
                                ].
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   154
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   155
        OtherMethods := OrderedCollection new.
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   156
        OtherMethods
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   157
            add:(self compiledMethodAt:#doesNotUnderstand:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   158
            add:(Object compiledMethodAt:#class);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   159
            add:(Object compiledMethodAt:#identityHash);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   160
            add:(Object compiledMethodAt:#at:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   161
            add:(Object compiledMethodAt:#at:put:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   162
            add:(Object compiledMethodAt:#basicAt:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   163
            add:(Object compiledMethodAt:#basicAt:put:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   164
            add:(Object compiledMethodAt:#printString);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   165
            add:(Object compiledMethodAt:#printOn:);
2186
7af603c810b7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2006
diff changeset
   166
            add:(Object compiledMethodAt:#basicPrintOn:);
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   167
            add:(Object compiledMethodAt:#addDependent:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   168
            add:(Object compiledMethodAt:#removeDependent:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   169
            add:(Object compiledMethodAt:#dependents);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   170
            add:(Object compiledMethodAt:#dependents:);
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   171
            add:(Object compiledMethodAt:#perform:);
2186
7af603c810b7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2006
diff changeset
   172
            add:(Object compiledMethodAt:#perform:with:);
3628
febf865a3ca9 class: Structure
Claus Gittinger <cg@exept.de>
parents: 3627
diff changeset
   173
            add:(Object compiledMethodAt:#respondsTo:);
2186
7af603c810b7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2006
diff changeset
   174
            add:(Object compiledMethodAt:#isBoolean).
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   175
        OtherMethods := OtherMethods asArray.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   176
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   177
        OtherSelectors := #(#doesNotUnderstand:
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   178
                            #class #identityHash
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   179
                            #at: #at:put: #basicAt: #basicAt:put:
2186
7af603c810b7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2006
diff changeset
   180
                            #printString #printOn: #basicPrintOn:
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   181
                            #addDependent: #removeDependent: #dependents #dependents:
2186
7af603c810b7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2006
diff changeset
   182
                            #perform: #perform:with:
3628
febf865a3ca9 class: Structure
Claus Gittinger <cg@exept.de>
parents: 3627
diff changeset
   183
                            #respondsTo:
2186
7af603c810b7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2006
diff changeset
   184
                            #isBoolean).
282
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
    "
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   188
     OneInstance := nil.
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   189
     self initialize.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   190
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   191
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   192
    "Modified: 21.9.1996 / 16:01:48 / cg"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   193
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   194
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   195
!Structure class methodsFor:'instance creation'!
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   196
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   197
newWith:names
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   198
    "return a new structure containing fields as passed in the names collection.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   199
     The argument must be a sequenceable collection of symbols.
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   200
     The new structures values are all initialized to nil."
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   201
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   202
     ^ self newWith:names values:nil
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   203
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   204
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   205
     Structure newWith:#(foo bar)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   206
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   207
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   208
    "Created: 13.5.1996 / 20:03:42 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   210
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   211
newWith:names values:values
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   212
    "return a new structure containing fields as passed in the names collection.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   213
     The argument must be a sequenceable collection of symbols.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   214
     The new structures values are set to corresponding values from the second argument, values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   215
1424
eb987ab75c1f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1377
diff changeset
   216
    |arr sels mthds nInsts behviorsInstSize|
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   217
3627
4638af476fae class: Structure
Claus Gittinger <cg@exept.de>
parents: 3626
diff changeset
   218
    OneInstance isNil ifTrue:[
4638af476fae class: Structure
Claus Gittinger <cg@exept.de>
parents: 3626
diff changeset
   219
        self initializeOneInstance
4638af476fae class: Structure
Claus Gittinger <cg@exept.de>
parents: 3626
diff changeset
   220
    ].
4638af476fae class: Structure
Claus Gittinger <cg@exept.de>
parents: 3626
diff changeset
   221
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   222
    nInsts := names size.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   223
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   224
    sels := names collect:[:nm | nm asSymbol].
3403
1ae8bfefe251 class: Structure
Claus Gittinger <cg@exept.de>
parents: 2351
diff changeset
   225
    sels := sels , (names collect:[:nm | nm asMutator]).
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   226
    sels := sels , OtherSelectors.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   227
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   228
    mthds := ReadAccessMethods copyTo:nInsts.
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   229
    mthds := mthds , (WriteAccessMethods copyTo:nInsts).
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   230
    mthds := mthds , OtherMethods.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   231
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   232
    "/ create a prototype object as an array ...
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   233
    "/ the object will be its own class, and have the indexable flag bit set;
1424
eb987ab75c1f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1377
diff changeset
   234
    "/ therefore, the first behviorsInstSize instVars must correspond to Behavior instvars,
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   235
    "/ the remaining ones will be the indexed instvars.
1424
eb987ab75c1f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1377
diff changeset
   236
    behviorsInstSize := Behavior instSize.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   237
1424
eb987ab75c1f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1377
diff changeset
   238
    arr := Array new:(behviorsInstSize + nInsts).
2351
4371af1faf81 changed: #newWith:values:
Stefan Vogel <sv@exept.de>
parents: 2341
diff changeset
   239
"/    arr at:1 put:nil.                                                   "/ superclass
3903
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
   240
    arr at:IndexOfFlags put:(Behavior flagBehavior bitOr:Behavior flagPointers).          "/ flags
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
   241
    arr at:IndexOfMethodDictionary put:(MethodDictionary withKeys:sels andValues:mthds).  "/ selectors & methods
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
   242
"/    arr at:IndexOfLookupObject put:nil.                                                 "/ lookupObject
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
   243
    arr at:IndexOfInstSize put:behviorsInstSize.                                      "/ instSize
6d156356410f #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 3898
diff changeset
   244
    
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   245
    "/ now, the big trick ...
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
    arr changeClassTo:DummyClass.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
    arr changeClassTo:arr.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
    values notNil ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
        values keysAndValuesDo:[:i :val |
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   252
            arr at:i put:val
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   253
        ]
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   256
    ^ arr.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   257
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   258
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   259
     Structure newWith:#(foo bar) values:#('foo' 'bar')
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
    "Created: 13.5.1996 / 20:03:42 / cg"
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   263
    "Modified: 3.7.1996 / 10:24:43 / cg"
282
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:assoc
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   267
    "return a new structure with a single field, named to the assocs key,
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   268
     and initialized with assocs value."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   269
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   270
     ^ self newWith:(Array with:assoc key) values:(Array with:assoc value)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   271
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   272
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   273
     Structure with:#foo->'foo'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   274
    "
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
with:assoc1 with:assoc2
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   278
    "return a new structure with two fields, named as defined by the arguments'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   279
     keys, and and initialized with the assocs' values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   280
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   281
     ^ self newWith:(Array with:assoc1 key with:assoc2 key)
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   282
             values:(Array with:assoc1 value with:assoc2 value)
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   283
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   284
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   285
     Structure with:#foo->'foo' with:#bar->'bar'
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
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   289
with:assoc1 with:assoc2 with:assoc3
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   290
    "return a new structure with three fields, named as defined by the arguments'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   291
     keys, and and initialized with the assocs' values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   292
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   293
     ^ self newWith:(Array with:assoc1 key with:assoc2 key with:assoc3 key)
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   294
             values:(Array with:assoc1 value with:assoc2 value with:assoc3 value)
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   295
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   296
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   297
     Structure with:#foo->'foo' with:#bar->'bar' with:#baz->'baz'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   298
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   299
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   300
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   301
with:assoc1 with:assoc2 with:assoc3 with:assoc4
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   302
    "return a new structure with four fields, named as defined by the arguments'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   303
     keys, and and initialized with the assocs' values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   304
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   305
     ^ self newWith:(Array with:assoc1 key with:assoc2 key
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   306
                           with:assoc3 key with:assoc4 key)
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   307
             values:(Array with:assoc1 value with:assoc2 value
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   308
                           with:assoc3 value with:assoc4 value)
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   309
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   310
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   311
     Structure with:#foo->'foo' with:#bar->'bar' with:#baz->'baz' with:#hello->'hello'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   312
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   313
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   314
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   315
with:assoc1 with:assoc2 with:assoc3 with:assoc4 with:assoc5
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   316
    "return a new structure with five fields, named as defined by the arguments'
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   317
     keys, and and initialized with the assocs' values."
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   318
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   319
     ^ self newWith:(Array with:assoc1 key with:assoc2 key
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   320
                           with:assoc3 key with:assoc4 key
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   321
                           with:assoc5 key)
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   322
             values:(Array with:assoc1 value with:assoc2 value
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   323
                           with:assoc3 value with:assoc4 value
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   324
                           with:assoc5 value)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   325
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   326
    "
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   327
     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
   328
    "
1131
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   329
!
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   330
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   331
with:assoc1 with:assoc2 with:assoc3 with:assoc4 with:assoc5 with:assoc6
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   332
    "return a new structure with five fields, named as defined by the arguments'
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   333
     keys, and and initialized with the assocs' values."
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   334
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   335
     ^ self newWith:(Array with:assoc1 key with:assoc2 key
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   336
                           with:assoc3 key with:assoc4 key
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   337
                           with:assoc5 key with:assoc6 key)
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   338
             values:(Array with:assoc1 value with:assoc2 value
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   339
                           with:assoc3 value with:assoc4 value
1131
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   340
                           with:assoc5 value with:assoc6 value)
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   341
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   342
    "
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   343
     Structure with:#foo->'foo' with:#bar->'bar' with:#baz->'baz' with:#hello->'hello' with:#world->'world'
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   344
    "
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   345
!
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   346
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   347
with:assoc1 with:assoc2 with:assoc3 with:assoc4 with:assoc5 with:assoc6 with:assoc7
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   348
    "return a new structure with five fields, named as defined by the arguments'
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   349
     keys, and and initialized with the assocs' values."
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   350
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   351
     ^ self newWith:(Array with:assoc1 key with:assoc2 key
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   352
                           with:assoc3 key with:assoc4 key
1131
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   353
                           with:assoc5 key with:assoc6 key
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   354
                           with:assoc7 key)
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   355
             values:(Array with:assoc1 value with:assoc2 value
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
   356
                           with:assoc3 value with:assoc4 value
1131
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   357
                           with:assoc5 value with:assoc6 value
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   358
                           with:assoc7 value)
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   359
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   360
    "
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   361
     Structure with:#foo->'foo' with:#bar->'bar' with:#baz->'baz' with:#hello->'hello' with:#world->'world'
82b645876f08 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1130
diff changeset
   362
    "
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   363
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   364
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   365
!Structure class methodsFor:'special'!
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   366
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   367
primAddSelector:newSelector withMethod:newMethod
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   368
    "must reinit myself when methods are accepted."
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   369
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   370
    |val|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   371
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   372
    val := super primAddSelector:newSelector withMethod:newMethod.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   373
    OneInstance := nil.
3627
4638af476fae class: Structure
Claus Gittinger <cg@exept.de>
parents: 3626
diff changeset
   374
    "/ self initializeOneInstance.
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   375
    ^ val
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   376
! !
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   377
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   378
!Structure methodsFor:'accessing'!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   379
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   380
flags
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   381
    "return the flags - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   382
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   383
    ^ flags
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   384
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   385
    "Created: 13.5.1996 / 21:19:23 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   386
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   387
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   388
flags:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   389
    "set the flags - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   390
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   391
    flags := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   392
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   393
    "Created: 13.5.1996 / 21:19:23 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   394
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   395
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   396
i1
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   397
    "prototype method to return the first instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   398
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   399
    ^ i1
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   400
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   401
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   402
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   403
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   404
i10
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   405
    "prototype method to return the 10th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   406
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   407
    ^ i10
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   408
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   409
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   410
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   411
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   412
i10:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   413
    "prototype method to set the 10th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   414
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   415
    i10 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   416
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   417
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   418
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   419
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   420
i11
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   421
    "return i11"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   422
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   423
    ^ i11
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   424
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   425
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   426
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   427
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   428
i11:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   429
    "prototype method to set the 11th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   430
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   431
    i11 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   432
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   433
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   434
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   435
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   436
i12
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   437
    "return i12"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   438
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   439
    ^ i12
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   440
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   441
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   442
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   443
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   444
i12:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   445
    "set i12"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   446
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   447
    i12 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   448
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   449
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   450
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   451
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   452
i13
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   453
    "return i13"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   454
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   455
    ^ i13
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   456
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   457
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   458
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   459
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   460
i13:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   461
    "set i13"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   462
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   463
    i13 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   464
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   465
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   466
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   467
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   468
i14
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   469
    "return i14"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   470
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   471
    ^ i14
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   472
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   473
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   474
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   475
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   476
i14:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   477
    "set i14"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   478
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   479
    i14 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   480
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   481
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   482
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   483
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   484
i15
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   485
    "return i15"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   486
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   487
    ^ i15
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   488
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   489
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   490
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   491
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   492
i15:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   493
    "set i15"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   494
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   495
    i15 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   496
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   497
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   498
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   499
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   500
i16
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   501
    "return i16"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   502
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   503
    ^ i16
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   504
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   505
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   506
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   507
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   508
i16:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   509
    "set i16"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   510
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   511
    i16 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   512
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   513
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   514
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   515
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   516
i17
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   517
    "return i17"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   518
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   519
    ^ i17
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   520
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   521
    "Created: 13.5.1996 / 21:19:28 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   522
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   523
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   524
i17:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   525
    "set i17"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   526
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   527
    i17 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   528
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   529
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   530
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   531
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   532
i18
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   533
    "return i18"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   534
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   535
    ^ i18
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   536
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   537
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   538
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   539
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   540
i18:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   541
    "set i18"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   542
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   543
    i18 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   544
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   545
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   546
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   547
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   548
i19
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   549
    "return i19"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   550
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   551
    ^ i19
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   552
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   553
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   554
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   555
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   556
i19:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   557
    "set i19"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   558
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   559
    i19 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   560
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   561
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   562
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   563
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   564
i1:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   565
    "prototype method to set the 1st instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   566
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   567
    i1 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   568
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   569
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   570
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   571
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   572
i2
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   573
    "prototype method to return the 2nd instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   574
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   575
    ^ i2
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   576
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   577
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   578
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   579
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   580
i20
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   581
    "return i20"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   582
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   583
    ^ i20
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   584
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   585
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   586
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   587
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   588
i20:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   589
    "set i20"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   590
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   591
    i20 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   592
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   593
    "Created: 13.5.1996 / 21:19:29 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   594
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   595
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   596
i21
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   597
    "return i21"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   598
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   599
    ^ i21
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   600
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   601
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   602
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   603
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   604
i21:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   605
    "set i21"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   606
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   607
    i21 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   608
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   609
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   610
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   611
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   612
i22
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   613
    "return i22"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   614
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   615
    ^ i22
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   616
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   617
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   618
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   619
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   620
i22:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   621
    "set i22"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   622
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   623
    i22 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   624
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   625
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   626
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   627
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   628
i23
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   629
    "return i23"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   630
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   631
    ^ i23
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   632
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   633
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   634
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   635
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   636
i23:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   637
    "set i23"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   638
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   639
    i23 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   640
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   641
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   642
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   643
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   644
i24
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   645
    "return i24"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   646
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   647
    ^ i24
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   648
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   649
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   650
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   651
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   652
i24:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   653
    "set i24"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   654
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   655
    i24 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   656
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   657
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   658
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   659
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   660
i25
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   661
    "return i25"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   662
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   663
    ^ i25
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   664
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   665
    "Created: 21.9.1996 / 16:06:21 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   666
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   667
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   668
i25:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   669
    "set i25"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   670
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   671
    i25 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   672
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   673
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   674
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   675
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   676
i26
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   677
    "return i26"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   678
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   679
    ^ i26
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   680
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   681
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   682
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   683
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   684
i26:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   685
    "set i26"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   686
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   687
    i26 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   688
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   689
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   690
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   691
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   692
i27
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   693
    "return i27"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   694
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   695
    ^ i27
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   696
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   697
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   698
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   699
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   700
i27:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   701
    "set i27"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   702
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   703
    i27 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   704
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   705
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   706
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   707
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   708
i28
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   709
    "return i28"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   710
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   711
    ^ i28
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   712
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   713
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   714
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   715
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   716
i28:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   717
    "set i28"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   718
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   719
    i28 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   720
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   721
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   722
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   723
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   724
i29
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   725
    "return i29"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   726
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   727
    ^ i29
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   728
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   729
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   730
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   731
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   732
i29:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   733
    "set i29"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   734
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   735
    i29 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   736
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   737
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   738
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   739
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   740
i2:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   741
    "prototype method to set the 2nd instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   742
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   743
    i2 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   744
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   745
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   746
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   747
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   748
i3
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   749
    "prototype method to return the 3rd instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   750
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   751
    ^ i3
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   752
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   753
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   754
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   755
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   756
i30:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   757
    "set i30"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   758
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   759
    i30 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   760
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   761
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   762
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   763
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   764
i31
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   765
    "return i31"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   766
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   767
    ^ i31
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   768
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   769
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   770
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   771
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   772
i31:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   773
    "set i31"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   774
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   775
    i31 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   776
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   777
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   778
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   779
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   780
i32
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   781
    "return i32"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   782
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   783
    ^ i32
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   784
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   785
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   786
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   787
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   788
i32:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   789
    "set i32"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   790
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   791
    i32 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   792
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   793
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   794
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   795
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   796
i33
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   797
    "return i33"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   798
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   799
    ^ i33
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   800
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   801
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   802
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   803
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   804
i33:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   805
    "set i33"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   806
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   807
    i33 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   808
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   809
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   810
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   811
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   812
i34
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   813
    "return i34"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   814
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   815
    ^ i34
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   816
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   817
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   818
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   819
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   820
i34:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   821
    "set i34"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   822
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   823
    i34 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   824
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   825
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   826
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   827
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   828
i35
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   829
    "return i35"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   830
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   831
    ^ i35
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   832
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   833
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   834
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   835
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   836
i35:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   837
    "set i35"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   838
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   839
    i35 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   840
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   841
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   842
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   843
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   844
i36
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   845
    "return i36"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   846
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   847
    ^ i36
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   848
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   849
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   850
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   851
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   852
i36:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   853
    "set i36"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   854
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   855
    i36 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   856
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   857
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   858
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   859
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   860
i37
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   861
    "return i37"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   862
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   863
    ^ i37
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   864
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   865
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   866
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   867
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   868
i37:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   869
    "set i37"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   870
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   871
    i37 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   872
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   873
    "Created: 21.9.1996 / 16:06:22 / cg"
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
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   876
i38
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   877
    "return i38"
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
    ^ i38
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   880
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   881
    "Created: 21.9.1996 / 16:06:22 / cg"
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
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   884
i38:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   885
    "set i38"
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
    i38 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   888
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   889
    "Created: 21.9.1996 / 16:06:22 / cg"
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
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   892
i39
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   893
    "return i39"
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
    ^ i39
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   896
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   897
    "Created: 21.9.1996 / 16:06:22 / cg"
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
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   900
i39:something
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   901
    "set i39"
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
    i39 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   904
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   905
    "Created: 21.9.1996 / 16:06:22 / cg"
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
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   908
i3:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   909
    "prototype method to set the 3rd instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   910
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   911
    i3 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   912
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   913
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   914
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   915
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   916
i4
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   917
    "prototype method to return the 4th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   918
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   919
    ^ i4
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   920
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   921
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   922
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   923
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   924
i40
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   925
    "return the value of the instance variable 'i40' (automatically generated)"
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   926
1129
4951097b5191 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
   927
    ^ i40
4951097b5191 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
   928
!
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   929
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   930
i40:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   931
    "prototype method"
343
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
    i40 := something.
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
    "Created: 21.9.1996 / 16:06:22 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   936
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   937
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   938
i41
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   939
    "prototype method"
343
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
    ^ i41
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
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   944
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   945
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   946
i41:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   947
    "prototype method"
343
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
    i41 := something.
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
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   952
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   953
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   954
i42
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   955
    "prototype method"
343
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
    ^ i42
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
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   960
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   961
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   962
i42:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   963
    "prototype method"
343
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
    i42 := something.
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
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   968
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   969
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   970
i43
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   971
    "prototype method"
343
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
    ^ i43
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
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   976
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   977
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   978
i43:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   979
    "prototype method"
343
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
    i43 := something.
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
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   984
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   985
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   986
i44
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   987
    "prototype method"
343
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
    ^ i44
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
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   992
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   993
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
   994
i44:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
   995
    "prototype method"
343
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
    i44 := something.
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
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1000
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1001
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1002
i45
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1003
    "prototype method"
343
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
    ^ i45
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
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1008
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1009
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1010
i45:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1011
    "prototype method"
343
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
    i45 := something.
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
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1016
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1017
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1018
i46
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1019
    "prototype method"
343
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
    ^ i46
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
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1024
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1025
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1026
i46:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1027
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1028
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1029
    i46 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1030
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1031
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1032
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1033
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1034
i47
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1035
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1036
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1037
    ^ i47
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1038
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1039
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1040
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1041
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1042
i47:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1043
    "prototype method"
343
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
    i47 := something.
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
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1048
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1049
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1050
i48
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1051
    "prototype method"
343
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
    ^ i48
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
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1056
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1057
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1058
i48:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1059
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1060
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1061
    i48 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1062
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1063
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1064
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1065
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1066
i49
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1067
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1068
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1069
    ^ i49
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1070
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1071
    "Created: 21.9.1996 / 16:06:23 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1072
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1073
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1074
i49:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1075
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1076
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1077
    i49 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1078
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1079
    "Created: 21.9.1996 / 16:06:24 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1080
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1081
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1082
i4:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1083
    "prototype method to set the 4th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1084
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1085
    i4 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1086
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1087
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1088
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1089
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1090
i5
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1091
    "prototype method to return the 5th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1092
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1093
    ^ i5
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1094
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1095
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1096
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1097
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1098
i50
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1099
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1100
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1101
    ^ i50
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1102
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1103
    "Created: 21.9.1996 / 16:06:24 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1104
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1105
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1106
i50:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1107
    "prototype method"
343
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1108
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1109
    i50 := something.
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1110
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1111
    "Created: 21.9.1996 / 16:06:24 / cg"
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1112
!
3232712d4a28 allow up to 50 slots
Claus Gittinger <cg@exept.de>
parents: 294
diff changeset
  1113
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1114
i5:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1115
    "prototype method to set the 5th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1116
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1117
    i5 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1118
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1119
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1120
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1121
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1122
i6
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1123
    "prototype method to return the 6th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1124
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1125
    ^ i6
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1126
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1127
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1128
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1129
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1130
i6:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1131
    "prototype method to set the 6th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1132
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1133
    i6 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1134
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1135
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1136
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1137
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1138
i7
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1139
    "prototype method to return the 7th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1140
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1141
    ^ i7
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1142
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1143
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1144
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1145
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1146
i7:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1147
    "prototype method to set the 7th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1148
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1149
    i7 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1150
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1151
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1152
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1153
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1154
i8
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1155
    "prototype method to return the 8th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1156
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1157
    ^ i8
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1158
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1159
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1160
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1161
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1162
i8:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1163
    "prototype method to set the 8th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1164
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1165
    i8 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1166
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1167
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1168
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1169
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1170
i9
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1171
    "prototype method to return the 9th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1172
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1173
    ^ i9
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1174
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1175
    "Created: 13.5.1996 / 21:19:26 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1176
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1177
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1178
i9:something
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1179
    "prototype method to set the 9th instance variable"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1180
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1181
    i9 := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1182
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1183
    "Created: 13.5.1996 / 21:19:27 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1184
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1185
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1186
instSize
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1187
    "return instSize - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1188
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1189
    ^ instSize
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1190
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1191
    "Created: 13.5.1996 / 21:19:24 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1192
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1193
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1194
instSize:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1195
    "set instSize - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1196
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1197
    instSize := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1198
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1199
    "Created: 13.5.1996 / 21:19:25 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1200
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1201
429
ffc4e2ab5581 cleanup
Claus Gittinger <cg@exept.de>
parents: 343
diff changeset
  1202
methodDictionary
ffc4e2ab5581 cleanup
Claus Gittinger <cg@exept.de>
parents: 343
diff changeset
  1203
    "return the methodDictionary - required class protocol"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1204
429
ffc4e2ab5581 cleanup
Claus Gittinger <cg@exept.de>
parents: 343
diff changeset
  1205
    ^ methodDictionary
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1206
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1207
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1208
superclass
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1209
    "return superclass - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1210
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1211
    ^ superclass
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1212
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1213
    "Created: 13.5.1996 / 21:19:23 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1214
!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1215
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1216
superclass:something
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1217
    "set superclass - required class protocol"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1218
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1219
    superclass := something.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1220
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1221
    "Created: 13.5.1996 / 21:19:23 / cg"
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1222
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1223
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1224
!Structure methodsFor:'stubs'!
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1225
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1226
doesNotUnderstand:aMessage
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1227
    "catch unimplemented messages - pass some to the superclass.
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1228
     Notice that although this method calls super messages,
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1229
     actual instances will have no valid superClass."
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1230
4167
7809dfa8558d #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4068
diff changeset
  1231
    <ignore: RBReturnsBooleanAndOtherRule rationale:'returns whatever the forwarded method returns' author:'cg'>
7809dfa8558d #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4068
diff changeset
  1232
    
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1233
    |sel args names sz s idx|
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1234
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1235
    "/ instance protocol
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1236
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1237
    sel := aMessage selector.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1238
    args := aMessage arguments.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1239
4170
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1240
    (sel == #displayOn:) ifTrue:[
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1241
        s := args at:1.
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1242
        s nextPutAll:'Structure('.
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1243
        names := self allInstVarNames.
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1244
        names notNil ifTrue:[
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1245
            names keysAndValuesDo:[:idx :nm |
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1246
                s nextPutAll:nm; nextPutAll:'->'.
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1247
                (self at:idx) displayOn:s.
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1248
                s space
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1249
            ].
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1250
        ].
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1251
        s nextPut:$).
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1252
        ^ self.
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1253
    ].
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1254
2186
7af603c810b7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2006
diff changeset
  1255
    (sel == #displayString) ifTrue:[
4720
f34e80b9a88f #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 4674
diff changeset
  1256
        s := CharacterWriteStream new.
4170
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1257
        self displayOn:s.
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1258
        ^ s contents
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1259
    ].
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1260
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1261
    sel == #basicInspect ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1262
        ^ InspectorView openOn:self
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1263
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1264
1424
eb987ab75c1f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1377
diff changeset
  1265
    sel == #inspectorClass ifTrue:[
eb987ab75c1f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1377
diff changeset
  1266
        ^ InspectorView
eb987ab75c1f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1377
diff changeset
  1267
    ].
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1268
    sel == #inspect ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1269
        ^ InspectorView openOn:self
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1270
    ].
4327
cea16e8f47d6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4248
diff changeset
  1271
    sel == #'inspectorValueListIconFor:' ifTrue:[
cea16e8f47d6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4248
diff changeset
  1272
        ^ (args at:1) imageFor_others
cea16e8f47d6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4248
diff changeset
  1273
    ].
cea16e8f47d6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4248
diff changeset
  1274
    self == #'inspectorValueStringInListFor:' ifTrue:[
cea16e8f47d6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4248
diff changeset
  1275
        ^ '{...}'
cea16e8f47d6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4248
diff changeset
  1276
    ].
cea16e8f47d6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4248
diff changeset
  1277
    
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1278
    sel == #instVarAt: ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1279
        |nr|
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1280
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1281
        nr := args at:1.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1282
        nr == 1 ifTrue:[^ i1].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1283
        nr == 2 ifTrue:[^ i2].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1284
        nr == 3 ifTrue:[^ i3].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1285
        nr == 4 ifTrue:[^ i4].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1286
        nr == 5 ifTrue:[^ i5].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1287
        nr == 6 ifTrue:[^ i6].
1481
c6804dfaf78a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1424
diff changeset
  1288
        nr == 7 ifTrue:[^ i7].
c6804dfaf78a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1424
diff changeset
  1289
        nr == 8 ifTrue:[^ i8].
c6804dfaf78a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1424
diff changeset
  1290
        nr == 9 ifTrue:[^ i9].
c6804dfaf78a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1424
diff changeset
  1291
        nr == 10 ifTrue:[^ i10].
c6804dfaf78a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1424
diff changeset
  1292
        nr == 11 ifTrue:[^ i11].
c6804dfaf78a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1424
diff changeset
  1293
        nr == 12 ifTrue:[^ i12].
c6804dfaf78a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1424
diff changeset
  1294
        nr == 13 ifTrue:[^ i13].
c6804dfaf78a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1424
diff changeset
  1295
        nr == 14 ifTrue:[^ i14].
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1296
        ^ nil
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1297
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1298
4002
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1299
    (sel == #perform:) ifTrue:[
1129
4951097b5191 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1300
         ^ super perform:(args at:1)
4951097b5191 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1301
    ].
4002
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1302
    (sel == #perform:with:) ifTrue:[
1559
a11c7c231537 *** empty log message ***
penk
parents: 1486
diff changeset
  1303
         ^ super perform:(args at:1) with:(args at:2)
a11c7c231537 *** empty log message ***
penk
parents: 1486
diff changeset
  1304
    ].
1129
4951097b5191 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1305
4002
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1306
    (sel == #=) ifTrue:[
1130
daa5e54c1a7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1129
diff changeset
  1307
        (args at:1) class == (args at:1) ifFalse:[^ false].    "/ must be another struct
daa5e54c1a7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1129
diff changeset
  1308
        names := self allInstVarNames.
daa5e54c1a7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1129
diff changeset
  1309
        names notNil ifTrue:[
1377
24f668298ef1 Convert Object>>errorSignal -> Error
Stefan Vogel <sv@exept.de>
parents: 1243
diff changeset
  1310
            Error handle:[:ex |
1130
daa5e54c1a7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1129
diff changeset
  1311
                ^ false
daa5e54c1a7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1129
diff changeset
  1312
            ] do:[
daa5e54c1a7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1129
diff changeset
  1313
                names do:[:slotName |
daa5e54c1a7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1129
diff changeset
  1314
                    ((args at:1) perform:slotName asSymbol) = (self perform:slotName asSymbol)
daa5e54c1a7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1129
diff changeset
  1315
                    ifFalse:[slotName halt. ^ false]
daa5e54c1a7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1129
diff changeset
  1316
                ]
daa5e54c1a7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1129
diff changeset
  1317
            ].
daa5e54c1a7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1129
diff changeset
  1318
        ].
daa5e54c1a7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1129
diff changeset
  1319
        ^ true.
1129
4951097b5191 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1320
    ].
4002
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1321
    (sel == #~=) ifTrue:[
1129
4951097b5191 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1322
         ^ super ~= (args at:1)
4951097b5191 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1323
    ].
4951097b5191 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1037
diff changeset
  1324
4002
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1325
    (sel == #size or:[sel == #basicSize]) ifTrue:[
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1326
         ^ super basicSize
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1327
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1328
4002
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1329
    (sel == #at: or:[sel == #basicAt:]) ifTrue:[
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1330
         ^ super basicAt:(args at:1)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1331
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1332
4002
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1333
    (sel == #at:put: or:[sel == #basicAt:put:]) ifTrue:[
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1334
         ^ super basicAt:(args at:1) put:(args at:2)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1335
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1336
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1337
    sel == #== ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1338
         ^ self == (args at:1)
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1339
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1340
945
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1341
    sel == #clone ifTrue:[
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1342
         ^ super clone
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1343
    ].
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1344
    sel == #shallowCopy ifTrue:[
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1345
         ^ super shallowCopy
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1346
    ].
2215
8ae61b93c7eb changed: #doesNotUnderstand: - hash
Michael Beyl <mb@exept.de>
parents: 2186
diff changeset
  1347
    sel == #identityHash ifTrue:[
8ae61b93c7eb changed: #doesNotUnderstand: - hash
Michael Beyl <mb@exept.de>
parents: 2186
diff changeset
  1348
         ^ super identityHash
8ae61b93c7eb changed: #doesNotUnderstand: - hash
Michael Beyl <mb@exept.de>
parents: 2186
diff changeset
  1349
    ].
4003
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1350
    sel == #hash ifTrue:[
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1351
         ^ super hash
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1352
    ].
2186
7af603c810b7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2006
diff changeset
  1353
    (sel == #isException) ifTrue:[
7af603c810b7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2006
diff changeset
  1354
         ^ false
7af603c810b7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2006
diff changeset
  1355
    ].
4002
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1356
    (sel == #isStructure) ifTrue:[
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1357
         ^ true
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1358
    ].
4003
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1359
    (sel == #class) ifTrue:[
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1360
         ^ Structure
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1361
    ].
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1362
    (sel == #theMetaclass) ifTrue:[
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1363
         ^ Structure class
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1364
    ].
4002
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1365
945
a42d24a15c84 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 943
diff changeset
  1366
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1367
    "/ class protocol
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1368
4003
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1369
    (sel == #name or:[sel == #className or:[sel == #fullName or:[sel == #nameInBrowser]]]) ifTrue:[
4002
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1370
        ^ #Structure
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1371
    ].
4003
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1372
    (sel == #package) ifTrue:[
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1373
        ^ #'stx:libcomp'
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1374
    ].
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1375
    sel == #isVariable ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1376
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1377
    ].
3981
69e822260845 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3903
diff changeset
  1378
    sel == #isImmediate ifTrue:[
69e822260845 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3903
diff changeset
  1379
         ^ false
69e822260845 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 3903
diff changeset
  1380
    ].
4003
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1381
    sel == #isImage ifTrue:[
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1382
         ^ false
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1383
    ].
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1384
    sel == #isFilename ifTrue:[
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1385
         ^ false
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1386
    ].
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1387
    sel == #isLazyValue ifTrue:[
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1388
         ^ false
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1389
    ].
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1390
    sel == #isClass ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1391
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1392
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1393
    sel == #isMeta ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1394
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1395
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1396
    sel == #isBehavior ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1397
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1398
    ].
1243
b05df2fb4d9c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1131
diff changeset
  1399
    sel == #isKindOf: ifTrue:[
b05df2fb4d9c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1131
diff changeset
  1400
         ^ false
b05df2fb4d9c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1131
diff changeset
  1401
    ].
4002
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1402
    sel == #includesBehavior: ifTrue:[
4003
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1403
         ^ (args at:1) == Structure or:[(args at:1) == Behavior].
4002
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1404
    ].
2006
a5996b7ad0cf *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
  1405
    sel == #isString ifTrue:[
a5996b7ad0cf *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
  1406
         ^ false
a5996b7ad0cf *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
  1407
    ].
4003
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1408
    sel == #hasImmediateInstances ifTrue:[
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1409
         ^ false
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1410
    ].
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1411
    sel == #respondsTo: ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1412
         ^ false
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1413
    ].
4170
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1414
    sel == #canUnderstand: ifTrue:[
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1415
        methodDictionary isNil ifTrue:[
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1416
            ^ false
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1417
        ].
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1418
        ^ methodDictionary includesKey:(args at:1).
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1419
    ].
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1420
    sel == #whichClassIncludesSelector: ifTrue:[
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1421
         ^ nil
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1422
    ].
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1423
    sel == #evaluatorClass ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1424
        ^ Compiler
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1425
    ].
4003
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1426
    sel == #theNonMetaclass ifTrue:[
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1427
        ^ self
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1428
    ].
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1429
    sel == #classNameWithArticle ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1430
         ^ self displayString
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1431
    ].
4068
e3a80233dc02 #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4003
diff changeset
  1432
    sel == #nameWithArticle ifTrue:[
e3a80233dc02 #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4003
diff changeset
  1433
         ^ 'a Structure'
e3a80233dc02 #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4003
diff changeset
  1434
    ].
4003
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1435
    (sel == #allSubclasses or:[sel == #subclasses]) ifTrue:[
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1436
        ^ #()
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1437
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1438
    sel == #allClassVarNames ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1439
        ^ #()
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1440
    ].
4003
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1441
    sel == #inspector2TabCommon ifTrue:[
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1442
        ^ super inspector2TabForInspectorClass
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1443
    ].
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1444
    sel == #programmingLanguage ifTrue:[
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1445
        ^ Object programmingLanguage
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1446
    ].
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1447
1559
a11c7c231537 *** empty log message ***
penk
parents: 1486
diff changeset
  1448
    sel == #methodDictionary ifTrue:[
4002
3df67527898f #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 3981
diff changeset
  1449
        ^ methodDictionary
1559
a11c7c231537 *** empty log message ***
penk
parents: 1486
diff changeset
  1450
    ].
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1451
    sel == #allInstVarNames ifTrue:[
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1452
        methodDictionary isNil ifTrue:[
4674
3b25441744b4 #QUALITY by stefan
Stefan Vogel <sv@exept.de>
parents: 4327
diff changeset
  1453
            Logger info:'Structure: oops - nil methodDict'.
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1454
            ^ #()
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1455
        ].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1456
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1457
        sz := super basicSize.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1458
        names := Array new:sz.
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1459
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1460
        methodDictionary keysAndValuesDo:[:sel :mthd|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1461
            |index mysel|
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1462
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1463
            (sel endsWith:$:) ifFalse:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1464
                (sel ~~ #class) ifTrue:[
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1465
                    "/
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1466
                    "/ which method is it ?
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1467
                    "/
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1468
                    idx := 1.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1469
                    [idx <= sz] whileTrue:[
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1470
                        mysel := ('i' , idx printString) asSymbol.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1471
                        mthd == (Structure compiledMethodAt:mysel) ifTrue:[
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1472
                            names at:idx put:sel.
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1473
                            idx := sz.   "/ break
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1474
                        ].
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1475
                        idx := idx + 1.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1476
                    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1477
                ]
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1478
            ]
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1479
        ].
2341
d05835f10cb8 better check for behavior compatibility
Claus Gittinger <cg@exept.de>
parents: 2215
diff changeset
  1480
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1481
         ^ names
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1482
    ].
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1483
943
5a9699ed4b9b give the dummy class another name, to avoid confusion with
Claus Gittinger <cg@exept.de>
parents: 654
diff changeset
  1484
    (sel == #instSize) ifTrue:[
5a9699ed4b9b give the dummy class another name, to avoid confusion with
Claus Gittinger <cg@exept.de>
parents: 654
diff changeset
  1485
         ^ instSize
5a9699ed4b9b give the dummy class another name, to avoid confusion with
Claus Gittinger <cg@exept.de>
parents: 654
diff changeset
  1486
    ].
4169
a5c8df72bfca #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4167
diff changeset
  1487
    ((sel startsWith:'is') or:[sel startsWith:'has']) ifTrue:[
4003
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1488
        ^ false.
a22969f1ca9e #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4002
diff changeset
  1489
    ].
4248
6ad8e090ff16 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4170
diff changeset
  1490
    (sel == #acceptVisitor:with:) ifTrue:[
6ad8e090ff16 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4170
diff changeset
  1491
        ^ (args at:1) visitObject:self with:(args at:2)
6ad8e090ff16 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4170
diff changeset
  1492
    ].
6ad8e090ff16 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4170
diff changeset
  1493
    (sel == #acceptVisitor:) ifTrue:[
6ad8e090ff16 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4170
diff changeset
  1494
        ^ (args at:1) visitObject:self with:nil
6ad8e090ff16 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4170
diff changeset
  1495
    ].
4674
3b25441744b4 #QUALITY by stefan
Stefan Vogel <sv@exept.de>
parents: 4327
diff changeset
  1496
    Logger info:'Structure: return nil for: #%1 args %2' with:sel with:args.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1497
294
6f937c0ba907 fixes for new MethodDictionary
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
  1498
    ^ nil.
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1499
4167
7809dfa8558d #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4068
diff changeset
  1500
    "Created: / 13-05-1996 / 20:22:22 / cg"
7809dfa8558d #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 4068
diff changeset
  1501
    "Modified: / 16-07-2017 / 13:54:58 / cg"
4170
78e576bb587c #BUGFIX by stefan
Stefan Vogel <sv@exept.de>
parents: 4169
diff changeset
  1502
    "Modified (format): / 24-07-2017 / 16:43:06 / stefan"
4327
cea16e8f47d6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 4248
diff changeset
  1503
    "Modified: / 31-01-2019 / 23:57:16 / Claus Gittinger"
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1504
! !
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1505
616
b5c07da2df11 fixes & class comment
ca
parents: 429
diff changeset
  1506
!Structure class methodsFor:'documentation'!
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1507
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1508
version
3898
e0ad3862c271 #BUGFIX by sr
sr
parents: 3628
diff changeset
  1509
    ^ '$Header$'
2215
8ae61b93c7eb changed: #doesNotUnderstand: - hash
Michael Beyl <mb@exept.de>
parents: 2186
diff changeset
  1510
!
8ae61b93c7eb changed: #doesNotUnderstand: - hash
Michael Beyl <mb@exept.de>
parents: 2186
diff changeset
  1511
8ae61b93c7eb changed: #doesNotUnderstand: - hash
Michael Beyl <mb@exept.de>
parents: 2186
diff changeset
  1512
version_CVS
3898
e0ad3862c271 #BUGFIX by sr
sr
parents: 3628
diff changeset
  1513
    ^ '$Header$'
282
7f91d09a768b renamed
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1514
! !
1377
24f668298ef1 Convert Object>>errorSignal -> Error
Stefan Vogel <sv@exept.de>
parents: 1243
diff changeset
  1515