Hi list,
Is there a way to generate a random integer within a template?
I want to pick a random line in a textfile to inlclude in my template.
Example:
%Getline("random_number_here","%Include='d:\magicfile.txt")
Cheers
Thomas
--
Thomas Andersson - Sweden
Email: [EMAIL PROTECTED]
Running The Ba
Hello Thomas,
Wednesday, June 2, 2004, 9:05:57 AM, you wrote:
Thomas> Is there a way to generate a random integer within a template?
Thomas> I want to pick a random line in a textfile to inlclude in my
Thomas> template.
Thomas> Example:
Thomas> %Getline("random_number_here","%Include='d:\magicfil
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,
Wednesday, June 2, 2004, 5:22:00 PM, you wrote:
LG> TB already does this.
LG> 1. Create a text file with each item on a single line.
LG>Use the \n in places where you want the text to wrap.
LG>i.e. This line will wrap\nwherever there is a \n
LG>Will show up as:
LG>This line will
Wed, 2 Jun 2004 17:05:57 +0200 (11:05 AM EDT here) Thomas Andersson wrote:
> Hi list,
> Is there a way to generate a random integer within a template? I
> want to pick a random line in a textfile to inlclude in my template.
> Example: %Getline("random_number_here","%Include='d:\magicfile.txt")
5 matches
Mail list logo