large amount text into variable 
Author Message
 large amount text into variable

Is their a way to put a large amount of text into a variable without having
to do something like the following ?  maybe with an include file somehow ?

mytext = "asdasd asd asd asdasdas d " _
                 & " sdfsdfsdf sdf s dfsd fs df sdf" _
                & " sdfsdf sdf sdfsdf sdf dfsdf" _

nick.



Sun, 13 Oct 2002 03:00:00 GMT  
 large amount text into variable
Nicholas,

Quote:
>Is their a way to put a large amount of text into a variable without having
>to do something like the following ?  maybe with an include file somehow ?

Put the string in a string resource in a resource file. Read it with
the LoadResString function at runtime.

Mattias

____________________________________________

    http://hem.spray.se/mattias.sjogren/
              Docendo discimus



Sun, 13 Oct 2002 03:00:00 GMT  
 large amount text into variable
Nicholas,

You can use the String() function to pump as many of a single character as
you want into a string, for example, 1024 spaces. You can also use the
Scripting.FileSystemObject to read the entire contents of a text file into a
string.

--
Frank Figearo - MCSD, MCT


Quote:
> Is their a way to put a large amount of text into a variable without
having
> to do something like the following ?  maybe with an include file somehow ?

> mytext = "asdasd asd asd asdasdas d " _
>                  & " sdfsdfsdf sdf s dfsd fs df sdf" _
>                 & " sdfsdf sdf sdfsdf sdf dfsdf" _

> nick.



Sun, 13 Oct 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. print a large amount of text to a file

2. Large amount of text as caption

3. Displaying large amounts of text

4. HTMLBody - unable to store text in single variable - too large

5. Time consuming in accessing large amount of records in OL.

6. Listing large amounts of data

7. large amount of file, subfolders and performance

8. large amount of data

9. multi-frame page VS large amount of data

10. I need large amounts of help

11. Problem when adding large amounts of numbers

12. $$Here is the LARGE amounts of money$$

 

 
Powered by phpBB® Forum Software