TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: Ralf Brinkmann
from: Jasen Betts
date: 2004-06-02 06:26:30
subject: Change batch commands

Hi Ralf.

01-Jun-04 18:41:36, Ralf Brinkmann wrote to Jasen Betts



 RB> The alias CALC = KEYSTACK "CALC %{at}comma[%{at}EVAL[%&]]"
works under
 RB> 4DOS, but under 4NT I don't get a result. The alias should be used
 RB> like "calc 4 + 5 ENTER"

I think keystack is the problem.
there may be a way to make it work woth NT,
I don't use it.

perhaps something like this instead.

:: (RECALC.BTM)
{at}echo off
setlocal
on break quit
on error quit
set calc=%{at}comma[%{at}eval[%&]]
eset calc
%0 %calc

 -=> Bye <=-

---
* Origin: Money is the root of all wealth. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

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™.