From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5171 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: \doglobal\settrue/\setfalse Date: Mon, 30 Jul 2001 16:42:55 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010730163944.023f0ce0@server-1> References: <1115078116.20010730162121@bigfoot.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035395777 31801 80.91.224.250 (23 Oct 2002 17:56:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:56:17 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Giuseppe Bilotta In-Reply-To: <1115078116.20010730162121@bigfoot.com> Xref: main.gmane.org gmane.comp.tex.context:5171 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5171 At 04:21 PM 7/30/2001 +0200, Giuseppe Bilotta wrote: >Hello, > >studying a visible bug in my 2001.7.11 ConTeXt I discovered that > >\doglobal\settrue >and >\doglobal\setfalse > >do *not* set true/false globally, but only locally. > >Substituting them with they alleged come-out: >\global\chardef\command=0 >and >\global\chardef\command=1 >does work. > >Any ideas on the reason why? \settrue and setfalse are rather primitive commands, i.e. chardefs \doglobal is used for some commands for which the global assignment is to b eapplied somewhere in the middle of the macro def or multiple times; since \doglobal is meant for experts, i assume that they peek into the code of syst-* macros to see where it is applicable: dodoglobal, redoglobal, resetglobal are its low low low level companions Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------