[etoys-dev] Persistent preferences

Bert Freudenberg bert at freudenbergs.de
Mon Aug 9 07:57:45 EDT 2010


On 09.08.2010, at 08:00, K. K. Subramaniam wrote:

> On Sunday 08 Aug 2010 10:28:45 pm Bert Freudenberg wrote:
>>> + 				tokens first caseOf: {
>>> + 					['value'] -> [tokens third caseOf: {
>>> + 						['true'] -> [value := true].
>>> + 						['false'] -> [value := false].
> Shouldn't 'nil' also be converted into nil here?

No. Preferences can only be on or off.

I used 'nil' to mean "do not record this preference", that is, delete the corresponding file.

- Bert -




More information about the etoys-dev mailing list