Welcome!

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

SignUp Now!

Bug in Examples.btm?

Apr
16
0
Running EXAMPLES.BTM and then selecting an item runs that part of the file and then shows, " Press "L" to LIST this section, any other key to return to the menu".

When I select "L" as instructed it does not list anything but returns you to the menu same as any other key.

That is, the line if "%i" eq "L" list /t":_%s" %_batchname does not list anything, but I don't know why.

It this a bug or something wrong with my setup?
 
Change:

if "%i" eq "L" list /t":_%s" %_batchname

to:

if "%i" eq "L" *list /t":_%s" "%_batchname"

and change:

:_0
list %_batchname
return

to:

:_0
*list "%_batchname"
return
 
Back
Top