From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9197 Path: main.gmane.org!not-for-mail From: "Martin Kola?ik" Newsgroups: gmane.comp.tex.context Subject: RE: = or := in MP Date: Fri, 13 Sep 2002 08:39:52 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <002e01c25af0$5d586440$2197fac3@mii.cz> References: <001401c25ac7$982c5870$0200a8c0@MATTHEW> Reply-To: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035399539 1259 80.91.224.250 (23 Oct 2002 18:58:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:58:59 +0000 (UTC) Original-To: "Matthew Huggett" , "ConTeXt" In-Reply-To: <001401c25ac7$982c5870$0200a8c0@MATTHEW> Xref: main.gmane.org gmane.comp.tex.context:9197 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9197 Hello, as far as I know MP uses := for setting value ("assign" statement), whereas = for defining symbolic relationship between left and right side of =. Said in other way, using = defines linear equation. MP has internal mechanism to solve linear equations (and systems of linear equations). So, if you write a1+ b1 = 14 a1- b1 = -5 you immediately can use values of a1 and b1 without numerically defining them. And u = 2cm? This is a linear equation, where is nothing to solve. Have a nice day, Martin -------- Martin Kolarik Moravske Pristroje, a.s., Masarykova 1148, Zlin 76302 tel. +420(603)498498, fax +420(603)490803 web: http://www.mii.cz -------- e-mail: kolarik@mii.cz e-mail: kolarik@click.cz tel. +420(603)535593 > -----Original Message----- > From: owner-ntg-context@let.uu.nl [mailto:owner-ntg-context@let.uu.nl]On > Behalf Of Matthew Huggett > Sent: Friday, September 13, 2002 3:48 AM > To: ntg-context@ntg.nl > Subject: = or := in MP > > > Hello: > > What exactly is the difference between using u = 2cm and u := 2cm ? > If I have multiple figures in a file, and I re-define u with > u=someValue in > subsequent figures, MP often complains about the value being > re-defined. If > I use := there's no trouble. When is it correct to use = and when := ? > > By the way, is it o.k. to post MP questions here or should I be looking > somewhere else? > > Thanks and Best Wishes, > > Matthew > >