Home » Development Area » DigiGuide Print Script » Function: GetProgrammeInfo

Function: GetProgrammeInfo


GetProgrammeInfo( int nProgramme, String text )

Summary

Get programme info in a specially tagged string.


Remarks

Parses text and replaces tags within it with the nProgramme related data.

So, if we passed text as "$ProgrammeName" then "Eastenders" could be returned. many tags can go into one call to GetProgrammeInfo. So, "$StartTime $ProgrammeName $CategoryName" is quite legal.

Passing nProgramme larger than the number of programmes available will result in an error being reported in the DebugOut


Parameters

ParameterDescription
int nProgramme Programme index
String text Tagged string

(Last updated: September 16, 2011 10:26:32)