ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jens-Uwe Morawski <morawski@gmx.net>
Subject: [NTG-context] MP keyval interface
Date: Thu, 17 Oct 2002 15:02:30 +0200	[thread overview]
Message-ID: <20021017150230.21a493b4.morawski@gmx.net> (raw)


Ahoi MP experts,

i've tried to implement a keyval-interface in MP.

Currently it looks like

def keyvalFunc (text t) =
	begingroup;
	save status, col ;
	numeric status; string col ;
		t ;
	show status;
	show col ;
	endgroup;
enddef;

keyvalFunc(status=1.0; col="Hallo" ) ;

This works, of course, but i would prefer if i could
use a comma instead of the ";" to separate the keyval-pairs.

Any ideas, how i can make "," be locally like ";"?

Thanks in advance.

Jens
_______________________________________________
ntg-context mailing list
ntg-context@ref.ntg.nl
http://ref.ntg.nl/mailman/listinfo/ntg-context


             reply	other threads:[~2002-10-17 13:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-17 13:02 Jens-Uwe Morawski [this message]
2002-10-17 14:03 ` Emil Hedevang Lohse
2002-10-18  9:45   ` Jens-Uwe Morawski

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=20021017150230.21a493b4.morawski@gmx.net \
    --to=morawski@gmx.net \
    /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).