Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

DEBUGSTRING and _BATCHLINE

Aug
2,320
111
I have the following at line 38 in my .btm;
Code:
alias dbstring=debugstring [TCC] %_batchline %_time

I then use it as follows;
Code:
dbstring keystack Alt-d
dbstring keystack Ctrl-C
dbstring keystack Esc

Works okay, but it keeps outputting 38 as the _batchline,
which is where I defined the ALIAS.

Other than doing a search and replace of
dbstring
...with...
dbstring %_batchline

...is there another workaround that would display the actual _batchline instead of the line where the ALIAS was created with it?

Joe
 
I have the following at line 38 in my .btm;
alias dbstring=debugstring [TCC] %_batchline %_time
You don't want the variables expanded when you create the alias. How about

Code:
alias dbstring `debugstring [TCC] %_batchline %_time`
 
Yes, I should have known that.

Thankyou, Vince.
 
Back
Top