Calling EXECUTE FILE with a Parameter

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
CCH4CLIPPER
Posts: 140
Joined: Tue Mar 03, 2009 8:59 am

Calling EXECUTE FILE with a Parameter

Post by CCH4CLIPPER »

Hi All

Why doesn't this work ?

cExe:='NotePad.exe GLCHART.PRN'
EXECUTE FILE cExe

Please note that this works

EXECUTE FILE 'NotePad.exe'


Regards

CCH
http://cch4clipper.blogspot.com
CCH4CLIPPER
Posts: 140
Joined: Tue Mar 03, 2009 8:59 am

Re: Calling EXECUTE FILE with a Parameter

Post by CCH4CLIPPER »

Hi Kathinagiri

Found it in hmg_help.chm !

EXECUTE FILE 'KE.exe ' PARAMETERS prn_name + '.PRN'

Works like a charm. So it looks as if the majority of my text reports are OK


Regards

CCH
http://cch4clipper.blogspot.com
Post Reply