Jump to content
Sign in to follow this  
lyledg

Syntax Question

Recommended Posts

lyledg

Apologies for all the question, but trying to learn this as fast as possible to stop buging you all..

I am trying to write a batch file name with a given variable, but get an error when trying to parse the function: Below is the affected code only...

GUICtrlCreateLabel ("Job Name", 25,25, 300)
GLOBAL $Job = GUICtrlCreateInput ( "", 30, 50, 200, 20)

$file = FileOpen(' "' (GUIRead($Job) '" ' & ".cmd",1)

I get the error from the Fileopen call

Cheers

:)

Share this post


Link to post
Share on other sites
lyledg

Cheers Mate!!! Worked..

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  

×