Re: [q-lang-users] New 'where' syntax
Brought to you by:
agraef
From: Keith T. <kaz...@ea...> - 2007-05-25 17:00:10
|
Hello Albert -- --- Albert Graef <Dr....@t-...> writes: - - strip C S - where N = #S-1 if not null S: - = strip C $ sub S 0 (N-1) if S!N = C; - = strip C $ sub S 1 N if S!0 = C; - otherwise: <<<<< - = S; Got it! The use of the token 'otherwise' before the colon is a nice touch; the other example did not feature the 'otherwise' and suddenly, the ':' looked "alien" to me. ;-) Thanks for pointing out my oversight! Cheers, Keith |