Sign in to follow this  
Followers 0
jimg

Block text like function?

3 posts in this topic

I'd like to assign a VERY long string of text that includes lots of " and ' characters. Is there a way to assign the value without going through and "doubling" all the appearances of the quotes?

In Perl, it would be like this:

print <<"(END BLOCK)";

bla"bla'bla""bla

(END BLOCK)

Share this post


Link to post
Share on other sites



Doh! By the time I hit "Post" I realized I can just read the string from a file!

I'm using AutoIt3 to generate a huge .KML file that includes kml, html, javascript, and asp, and I got momentarily disoriented :)

Share this post


Link to post
Share on other sites

I wish there was something like this in AutoIt actually, it would be nice to have a similar function as how you explain in perl and the <<<EOF things in php where you can just type in anything in between those statements.


Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0