Calling EXECUTE FILE with a Parameter

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

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

Calling EXECUTE FILE with a Parameter

Post by CCH4CLIPPER » Mon Mar 09, 2009 10:02 am

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: 130
Joined: Tue Mar 03, 2009 8:59 am

Post by CCH4CLIPPER » Mon Mar 09, 2009 10:16 am

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