From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106543 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: METAPOST vardef returning multiple and non-numeric types as a single answer? Date: Mon, 16 Mar 2020 10:52:53 +0100 Message-ID: <31A2AC33-A422-499C-B94A-D1C502D7EDF2@rna.nl> References: <1AFD4799-65FF-4574-A9B5-40BA3C532955@rna.nl> <9CC17BDA-18C9-431B-ABAE-0B018CDF054F@elvenkind.com> <2FD519BE-556C-4F09-B5DA-FED097A08400@rna.nl> <63EE1ECE-578E-44EF-86BC-939E3B957AA8@elvenkind.com> <23515AF0-D380-4D3D-BC62-078A179ED65F@elvenkind.com> <30920eea-ae02-142c-7c07-8c28534e5951@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: multipart/mixed; boundary="===============1801144574422462459==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="48003"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 16 10:54:38 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jDmSE-000CPM-0x for gctc-ntg-context-518@m.gmane-mx.org; Mon, 16 Mar 2020 10:54:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3A97D182982; Mon, 16 Mar 2020 10:52:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WBe09qEp6z_P; Mon, 16 Mar 2020 10:52:56 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 599E718298C; Mon, 16 Mar 2020 10:52:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1F01D182995 for ; Mon, 16 Mar 2020 10:52:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JV6xeazkkj5P for ; Mon, 16 Mar 2020 10:52:54 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=213.125.118.53; helo=mail.rna.nl; envelope-from=gerben.wierda@rna.nl; receiver= Original-Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 9219318298C for ; Mon, 16 Mar 2020 10:52:54 +0100 (CET) Original-Received: from hermione.rna.nl (hermione.rna.nl [192.168.2.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.rna.nl (Postfix) with ESMTPSA id BC4CD35CFA63 for ; Mon, 16 Mar 2020 10:52:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1584352373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5QNdZDeWRUsGD6HhSbZ5RLe98OQVBsdTe25eA83866k=; b=LCWOlECFDyKDwepuMRaTeYnpSi9rPXLeL52cDfTzGUZMujnQoIik3hxizw1KZWYeB47Sft ozjhXlebjxF5EsAXjdEGiTvlWmO3A+gQJyFlXxtZq29YdO2WtrUSEryg895mXcDjhbOQxH rmw4FkY6elIDLhotAZhX5M1aJ067q5qY5V6b5oSJ84O3gZrQrQbEqktdNIk6HPwhcfEPlV ccQ3HwYlWsptCxKec5X9hh8fRLCVj0e5224AnFnT5qxuSUBiaj1gc2kYXOm2eNn4NNcWdp 6QjdUxUBRHsSjC/EcKlpCYQJHtykMLcUjLHctD84VSoHmagTL7KNlcvC1Cbb8w== In-Reply-To: <30920eea-ae02-142c-7c07-8c28534e5951@xs4all.nl> X-Mailer: Apple Mail (2.3445.104.11) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:106543 Archived-At: --===============1801144574422462459== Content-Type: multipart/alternative; boundary="Apple-Mail=_1D7DCCDA-BEF7-4724-ABE5-6D09F03137B1" --Apple-Mail=_1D7DCCDA-BEF7-4724-ABE5-6D09F03137B1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Maybe a nice little explanation (educational with good examples) of = =E2=80=98how to use pass by reference=E2=80=99 and =E2=80=98building and = using complex data structures=E2=80=99 would be useful for people. Say, = some =E2=80=98patterns=E2=80=99. G =20 > On 16 Mar 2020, at 10:38, Hans Hagen wrote: >=20 > that said, after muy share of mp programming i would not have thought = about the text y as pass by reference, also because it's only true for = these pseudo arrays (maybe suffixes also work) --Apple-Mail=_1D7DCCDA-BEF7-4724-ABE5-6D09F03137B1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Maybe= a nice little explanation (educational with good examples) of =E2=80=98ho= w to use pass by reference=E2=80=99 and =E2=80=98building and using = complex data structures=E2=80=99 would be useful for people. Say, some = =E2=80=98patterns=E2=80=99.

G  

On 16 Mar 2020, at 10:38, Hans = Hagen <j.hagen@xs4all.nl> wrote:

that said, after muy share of mp = programming i would not have thought about the text y as pass by = reference, also because it's only true for these pseudo arrays (maybe = suffixes also work)

= --Apple-Mail=_1D7DCCDA-BEF7-4724-ABE5-6D09F03137B1-- --===============1801144574422462459== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1801144574422462459==--