Thanks, Charlie.
John
-------- Forwarded Message --------
Subject: Re: [Gambas-user] How to specify a string constant in an Exec
statement
Date: Fri, 15 Dec 2017 14:42:14 +0000
From: Charlie Ogier <char...@cogier.com>
To: John Rose <john.aaron.r...@gmail.com>
On 14/12/17 17:33, John Rose wrote:
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
Hi John,
I downloaded get_iplayer but on testing got the details below at
http://www.bbc.co.uk/bbcalba/programmes/schedules/last_week.xml. The
code below is what I tried: -
*Public Sub Main()**
**Dim sTemp, sOutput As String**
**
**sTemp = Shell$(".*")**
**Exec ["get_iplayer", sTemp, "--force", "--type=TV"] To sOutput **
**
**End*
Charlie
Maintenance mode
From April 18, 2017, the BBC is no longer able to offer XML, RDF and
iCalendar (.ics) views of programme metadata from this location.
Work is underway in some areas of the BBC with a view to providing a
durable successor to the decommissioned data views, and when the shape
of this work is known, suitable communications will be put in place to
direct the wider technology community towards that successor.
Until that time, it is possible to offer JSON views of many metadata
aggregations from 'http://www.bbc.co.uk/programmes', but these views
cannot, unfortunately, include those of TV channel and radio station
schedules, or A-Z or genre and format listings for a channel or station.
The remaining JSON feeds will remain in operation until May 1, 2018.
To expend new development effort on maintaining the decommissioned views
would significantly threaten the future existence of the BBC's
responsive web offering for programme websites. This includes the
responsive web views of schedules for all of the BBC’s broadcast
services (listed at http://www.bbc.co.uk/programmes#services), which
continue to be available.
Additionally - and this won't concern all users of data views, but may
need some clarity - we would like to point out that no provision of
metadata feeds from the BBC constitutes an implicit or explicit licence
to download rights-controlled digital media content for indefinite
retention by the downloader.
The Charter under which the BBC operates has, for many years, required
it to commission a proportion of its content from commercial suppliers.
Additionally, it engages independent performers and other contributors
to certain programmes (including those produced by the BBC itself),
according to commercial terms. All of the resulting agreements set
limitations on the availability of the programmes online. It is not
possible for the BBC to selectively ignore or to abrogate these obligations.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user