�� ��_RANGE - Range of variables assigned.�� Note variables are declared starting from 0001.
_RANGE := {��
1->9. "1. code validation"
201->256. "2. instance variables limit"
201->257. "3. instance variables Error: genStorePopInstVarLong: index index 256 is out of range 0 to 255"
201->299. "4. class variables keep going"
901->999. "5. class variables go extreme"
9901->9999. "6. class variables go ultra extreme"
} at: 1.
_TYPE := {
�� �� �� �� 'i'. �� �� "1. instance variables"
�� �� �� �� 'C' �� ��"2. class variables" ��
} at: 1. ����
"Choose experiment parameters above"
start := _RANGE key.
end := _RANGE value.
"DECLARE VARIABLES"
vars := ''.
1 to: end do: [:n| vars := vars, _TYPE, (n printPaddedWith: $0 to: 4), ' ��' ].
vars.
Object subclass: #Test
instanceVariableNames: ((_TYPE = 'i') ifTrue: [vars] ifFalse: [ '' ])
classVariableNames: ((_TYPE = 'C') ifTrue: [vars] ifFalse: [ '' ])
poolDictionaries: ''
package: 'aaaa'.
"First run needs to execute above separately to create the class referred below"
"ASSIGN VARIABLES"
body := '
'.
start to: end do: [ :n| body := body , _TYPE, (n printPaddedWith: $0 to: 4), ':=' , n printString , '.
' ].
body.
#Test asClass compile: 'assign ' , body.��
"INSPECT VARIABLES"
body := '
^{'.
start to: end do: [ :n| body := body , _TYPE, (n printPaddedWith: $0 to: 4) , '. ' ].
body.
Test compile: 'inspect ' , body , '} inspect'.��
Test new��assign��; inspect.