[NTG-context] Showing value of a MP variable

Procházka Lukáš Ing. LPr at pontex.cz
Fri Mar 8 17:05:02 CET 2019


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:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz | IDDS: nrpt3sn | IČO: 40763439
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396



More information about the ntg-context mailing list