TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: REX CONN
from: LEO V. MIRONOFF
date: 1998-04-25 18:08:00
subject: % bug

Hello Rex!
setdos/x-4
set x=%%
echo %x=
This batch IMHO should print "%=", but it prints nothing instead. If x is 
assigned a value other than % 4os2 correctly prints it followed by a = sign. 
Inserting extra %'s (i.e. echo %x%=) won't help. Looks like separator chars 
are analyzed too early - before setdos/x-4 can affect parsing:
echo %x+echo 2
is parsed as
echo %+ echo 2
and prints
ECHO is OFF
2
instead of
%+echo 2
as it should.
4os2 3.01a and 4dos 6.01a
:), Leo
--- lvm@belcom.ru <- use english here!
---------------
* Origin: - The Endless Quest - (2:5020/293)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.