Package: ucblogo Version: 5.5-2.1 Severity: normal With the foo.logo below running "ucblogo foo.logo" gives an error
make doesn't like PRIM as input in count.ternary [while [:n <> 0] [make "count (:count + 1) make "n int(:n/3)]] It seems somehow :count stops being a number. I had some variations on this giving segfaults too. logo 6.0 seems to run it ok, but dunno if that's because it's fixed (or if I'm doing something wrong in the first place).
#!/usr/bin/ucblogo to count.ternary :n localmake "count 0 while [:n <> 0] [ make "count (:count + 1) make "n int(:n/3) ] end for [i 0 10000 1] [ count.ternary :i ]
-- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-486 Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages ucblogo depends on: ii libc6 2.13-10 ii libice6 2:1.0.7-2 ii libncurses5 5.9-4 ii libsm6 2:1.2.1-2 ii libx11-6 2:1.5.0-1 ucblogo recommends no packages. ucblogo suggests no packages. -- no debconf information