Sign in to follow this  
Followers 0
lyledg

Error in writing file

4 posts in this topic

Hey guys

Please can someone glance over this for me..

I am trying to write a line of text to create a bacth file, when getting "Error in Expression" when running the script!

For info: I am trying to call a logfile once the bacth file has run..

GLOBAL $LOGFILNAME = GUICtrlCreateInput ("", 30, 195 , 300, 20)

FileWriteLine($file, 'Echo Call C:\Program Files\Appname\logs\ "' & Guiread($LOGFILNAME)'" ' & @CRLF)

What am I missing?

Parentheses and I are not mates at the moment!

Cheers

Share this post


Link to post
Share on other sites



Thanks Larry, you come to rescue yet again!

Much obliged...

Just a question, Not sure if I am the only one struggling to get my head around parentheses, but is there a section in the helpfile that explains this a bit better? I could not find anything.. And if not would it be a good idea to add this at some stage, for newbies like me?

Cheers mate.

Share this post


Link to post
Share on other sites

Get it right first. It's "apostraphe" not "parenthase", and yes, there is a section in the helpfile about them.


Who else would I be?

Share this post


Link to post
Share on other sites

Thanks for pointing that out...my mistake!..

:)

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