Re: [Unicon-group] An ICON question

2009-12-02 Thread Steve Wampler
Hi Charles, charles_da...@fws.gov wrote: w := [] w1 := w[1] This assignment fails (silently), leaving w1 assigned null. It turns out that s := a || w[1] # fails Fails in the same way that w1 := w[1] fails (no value for that subscript). While, s := a || w1 # terminates the program

Re: [Unicon-group] Icon programming for humanists

2009-12-02 Thread Alan B Saichek
Hi Folks, The recent discussion of un-initialized list element referencing reminded me of a typo in the draft of the 2nd edition of Alan Corre's Icon Programming for Humanists. On page 43, in example code of procedure printout() # Arrange info in columns and figure letter total