[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
Stepper protocol
- To: <ravi>
- Subject: Stepper protocol
- From: Eric Dean Tribble <tribble>
- Date: Thu, 26 Oct 89 11:47:14 PDT
- Cc: <xtech>
- In-reply-to: <Ravi>,25 PDT <8910260634.AA20950@xanadu>
MarkM also suggested having value() return NULL when the Stepper has
no more values. I rather like that, except that we can't write the
Samlltalk equivalent:
[tableStepper value] whileTrue: [something. tableStepper value].
I can imagine making the translator recognize the condition 'x = nil'
and converting it to just 'x' (that'd be nice).
Having a NULL return encourages me to use 'fetch' and 'get' (for NULL
return vs error) instead of value. any reactions?
dean