From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23064 invoked by alias); 7 Nov 2015 17:19:44 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20922 Received: (qmail 2163 invoked from network); 7 Nov 2015 17:19:43 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern_com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=gIQ6K1LV1zSmNqnKWyWFdei3zbBbtCB6naXuq+YGuBU=; b=JZi1OsACktsxWfTJYyFNWjGn3No6rnSVynpAiOfkJwYlfs63qEXaVzAw6oFrvEN5qs XKsugJzyakBCbF8rAlJ62g9H9Buv0FEuWsuR3qQvxROhVAoV0NzPoKysTy9YLXXo6Qmo TF9eGgR0R+UXVIKlafsQAYIC/qvI8g5oQuE0Z87BnJf6ap1HP65I4FjHP7j0T4KiLqMq 0Zdp/dDr6YPH2xd5H+ZLBDTUVHZpJRYvxEEuTkwPoD764XdMpXTjr/g7ne02byecpqav jv+NvYDxsrDY+h+qhOfmelj7ryP7tf54yzuO21R/crLNXzpZ2XE/1AkXzAYNskkzT2y1 fV+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=gIQ6K1LV1zSmNqnKWyWFdei3zbBbtCB6naXuq+YGuBU=; b=WnjNG2aLnEBZMBIBksMWkcdWco7jeVvNsgFTj2u6IhNuaQDhNsetx8kTSbzEd6gYZN 3w8tn1Mo/UwbiHU6zELeR5tl7nCHUaQQIy4UFXuVUvFujQE/566OowGX3hgNnhxkjJbL 2t5i96lveU0NaOZyzKue96vn398gPJAhGOTSIkdyQUjWXHEvc8jJ87TLckWjxEsI8AQj XdHPlkfdA+ma1cFEOXwIuxpgMfxQam8uN0dRBFQdH5T+ct/uDi5ZI7yi7j7Gt1WchQW+ m70N5MTeMEDMNl1Kz5KknKXQO92LNcGFw1nLODsvaX11niKbmhtvF6LXcXjIC9rxgqbl VECQ== X-Gm-Message-State: ALoCoQmQ+Dj2c5+7iaJ2sas67HqdWyFXQC8Fe1oUD1fALCRSnEeRrh2rhpF0cLWgQHcc0QN6l9rX X-Received: by 10.202.104.91 with SMTP id d88mr1118947oic.57.1446916780531; Sat, 07 Nov 2015 09:19:40 -0800 (PST) From: Bart Schaefer Message-Id: <151107091937.ZM24132@torch.brasslantern.com> Date: Sat, 7 Nov 2015 09:19:37 -0800 In-Reply-To: <563E1681.4000306@eastlink.ca> Comments: In reply to Ray Andrews "Re: two mysteries" (Nov 7, 7:19am) References: <563A4A75.1020009@eastlink.ca> <151104123546.ZM20556@torch.brasslantern.com> <563AA51B.3040101@eastlink.ca> <151106104455.ZM22748@torch.brasslantern.com> <563D281F.1000304@eastlink.ca> <151107015534.ZM23371@torch.brasslantern.com> <563E1681.4000306@eastlink.ca> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: two mysteries MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Nov 7, 7:19am, Ray Andrews wrote: } } I think where I went off the rails is that this was part of my trying } to pass arrays (as we discussed) rather than flocks of independent } values [...] } } ... and (so far) I don't know how to typeset an element of an array so You can't typeset an element of an array. Array elements (including associative array elements) are presently always scalar. There is some room in the implementation for associative array elements to be differently-typed, but arrays are stored internally as literal (char**). Incidentally "typeset -i -A foo" is not rejected as an error, but the -i flag always wins and you get an integer rather than an array.