Jump to content

Recommended Posts

Posted

Is it possible to, or does anyone know how to assign the content of a really long document as a variable? Document could contain lets say 2000 words.

Posted

$var = FileRead("path")?

The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again.

Posted

Thank you for replying all, but I was after something else.

My mistake that I did not phrase the question correctly...sorry.

Now what I am actually after is storing a long file in a script, so at the press of a button, it will create the file or put it on clipboard, or something. I know I can do...

$var = "bla bla bla" & _

"bla bla bla" & _

and so on but the document are way to long (but under 2147483647) and frequently edited.

Posted

If you want something to be "stored" in a script so that it's still there after the script is closed, you would have to create a file with the data to be stored and fileread that into a variable when the script starts.

The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...