TCNHD
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2012
01:27 PM
Calling a particular function
Can anyone help..
Am trying to enable a GRID function in the default videoplayer example that comes with the SDK...how do I do it and where do I need to put the codes..
THanks...
Am trying to enable a GRID function in the default videoplayer example that comes with the SDK...how do I do it and where do I need to put the codes..
THanks...
Total Caribbean Network
www.tcnhd.com
www.tcnhd.com
1 REPLY 1
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2012
08:53 PM
Re: Calling a particular function
I'm not sure what you mean by 'grid function'. If you are trying to add a gridscreen, look at the gridscreen sample app, and copy the routines you need into your current app.
As far as 'calling a function' goes, it is called the same way you would call any other function -
returnvalue=grid(variables)
Function Grid(Variableone) As Integer
'Do stuff
Return 0
End Function
As long as the function name isn't used somewhere else in your script files, and it isn't a reserved keyword, it will be called as a function as you intend. The return value is optional, but recommended for debugging and documenting program flow.
As far as 'calling a function' goes, it is called the same way you would call any other function -
returnvalue=grid(variables)
Function Grid(Variableone) As Integer
'Do stuff
Return 0
End Function
As long as the function name isn't used somewhere else in your script files, and it isn't a reserved keyword, it will be called as a function as you intend. The return value is optional, but recommended for debugging and documenting program flow.