Hello,

is it possible (namely for debugging) values of MP variables (be it on the 
console or in the log)?

I thought there is MP command "show" (mentioned in mpman.pdf) for this; but:

----
\starttext
  A
  \startMPcode
    newpair pt; pt := (10,20);
show pt; % <-------------------------- How to show the value?
    drawdot pt;
  \stopMPcode
\stoptext
----

doesn't show value of 'pt' variable.

Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.      | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS: 
nrpt3sn | IČO: 40763439
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to