Jens-Uwe Morawski <[EMAIL PROTECTED]> writes: > 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 ";"?
Perhaps begingroup let ,=;; endgroup will do the job. -- Emil Hedevang Lohse <http://home.imf.au.dk/emil/> Alle sp�rgsm�l er lige dumme. Og sp�rgsm�let "Kan �nder flyve?" er ikke dumt. _______________________________________________ ntg-context mailing list [EMAIL PROTECTED] http://ref.ntg.nl/mailman/listinfo/ntg-context
