[Gambas-user] How to specify a string constant in an Exec statement
Brought to you by:
gambas
|
From: John R. <joh...@gm...> - 2017-12-14 17:33:25
|
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 -- John |