ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michal Kvasnicka <quasar@econ.muni.cz>
Subject: Metapost variable problem
Date: Tue, 03 Aug 2004 12:37:18 +0000	[thread overview]
Message-ID: <410F86FE.2020105@econ.muni.cz> (raw)

Good afternoon.

I am sorry that I bother you with this offtopic but I don't know where 
else I can ask.

I want to prepare a better interface for my metapost macros. I want to 
use the record-like variables to store "object" information. But I don't 
know how to copy such records. More precisely, let's suppose I have

    string a.type; a.type:="ecicsqrt";
    string a.name; a.name:="indifference curve number 1";
    string a.A; a.A:="1";
    string a.B; a.B:="1";
    ...

And I want to copy it to a record b. But
    b:=a;
doesn't work (now b is equal to some unknown token a).

Is there some simple way to do it, or have I to copy it manually like this:
    string b.type; b.type:=a.type;
    ...

Many thanks for your help. With wishes of nice summer
Michal Kvasnicka

             reply	other threads:[~2004-08-03 12:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-03 12:37 Michal Kvasnicka [this message]
2004-08-03 13:51 ` Taco Hoekwater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=410F86FE.2020105@econ.muni.cz \
    --to=quasar@econ.muni.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).