Re: [Gambas-user] How to specify a string constant in an Exec statement
Brought to you by:
gambas
|
From: Benoît M. <g4...@gm...> - 2017-12-14 17:50:02
|
Le 14/12/2017 à 18:33, John Rose a écrit : > I want to have a command containing double quotes characters in an Exec > statement: > get-iplayer ".*" --force --type=TV > > My code for the above is: > Exec ["get_iplayer", "\".*\" --force", "--type=TV] To sOutput > where sOutput is a string. > > However, this does not work. I've tried omitting the 2 lots of \" but > that doesn't help. My code used to be (which worked): > Exec ["get_iplayer", " --force", "--type=TV] To sOutput > Please subscribe to the new mailing-list at http://lists.gambas-basic.org, this one is disabled. Regards, -- Benoît Minisini |