Hello The Bat! developers,

  I'm using The Bat! Version 1.47 Halloween Edition
  Serial Number B2825D96
  under Windows 98 4.10 Build 2222  A 
  and would like to report a bug

  The bug description:

  Include macro does not work with other macros in the argument field

  Steps to reproduce the bug:

  I want to create a way of making cookies with macros in them.  To do
  this, I created a directory called cookies on my D: drive.

  1. In D:\cookies create templates in text files, one template per
     file.  Call them cookie001.txt, cookie002.txt, etc.
     
  2. Create a file called index.txt  It should hold the full path and file
     name for each template.  eg It should look like:

     ---begin index.txt---
     d:\cookies\cookie001.txt
     d:\cookies\cookie002.txt
     ...
     ---end index.txt---

  3. In TB create a Template (any template) with the line

  %INCLUDE="%COOKIE=""D:\cookies\index.txt"""

  4. Invoke this template somehow.  The %Cookie macro is not evaluated
     thus causing the %Include to fail.

Now do a similar thing with quick templates.

  1. Create the cookies in QT's and give them handles

  2. Put the list of QT cookie handles in a file, one per line.
     Say the full path name is D:\QTCookies\index.txt

  3. Put the line
     %QINCLUDE="%Cookie=""d:\QTCookies\index.txt"""
     in any template.

  4. Invoke this template

  5. Notice that the QT templates are included randomly as desired.


Regards,
  Januk Aggarwal

-- 
--------------------------------------------------------------
View the TBBETA archive at http://tbbeta.thebat.dutaint.com
To send a message to the list moderation team double-click HERE:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBBETA, double-click HERE:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------


You are subscribed as : [email protected]


Reply via email to