ON Wednesday, June 2, 2004, 5:05:57 PM, you wrote:
TA> Hi list,

TA> Is there a way to generate a random integer within a template?
TA> I want to pick a random line in a textfile to inlclude in my template.

TA> Example:
TA> %Getline("random_number_here","%Include='d:\magicfile.txt")


Hi Thomas,
if you use the %coockie macro it will do the randomizing for you.

For the below tagline I use:
%wrapped='%cookie="C:\Program Files\Internet\The Bat!\golf quotes.txt"'

-- 
Best regards,
 Gerard 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Do you know,� the boy went on, a look in his eyes like that of some young
knight seeing the Holy Grail in a vision, �do you know, she is the only
woman I ever met who didn�t overswing. Just nice, crisp, snappy
half-slosh, with a good full follow-through. ==P.G Wodehouse - CHESTER
FORGETS HIMSELF ==

Using The Bat! v2.11 on Windows XP 5.1 Build 2600 Service Pack 1


________________________________________________
Current version is 2.11.00 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to