Array Dimensions Utility
Added by Rusty Fobe | 2009 | 3,203 views
Yields the dimensions of an array in the format [((#planes, )#rows, )#columns] or in the format ((#planes, )#rows, )#columns. function = getDimensions (array, format, dimensions, level) - array=name of the array, without quotes
- format=if omitted, typeof result is object; if any value, typeof result is string
- dimensions & level are for internal use only (it is a recursive function)
Designed for:
Philips Pronto Professional TSU9600
|
|
ProntoScript Module Template v1.2
Added in 2011 | 5,992 views
The ProntoScript Module Template is a configuration file that serves as a backbone for building your ProntoScript module. Philips recommends starting with this file and adding your own integration functionality.
Designed for:
All Pronto Professional Models
|
|
System Globals - Array Exchange Utility
Added by Rusty Fobe | 2009 | 3,279 views
Prints, restores or stores single- and multidimensional arrays into/from System Globals. Print shows the data in source format (=> ProntoScript console). This function invokes the Array Dimensions Utility called getDimensions. Includes examples, explanations and a test case. function = dumpArray (action, arrayName, dimensionalData, uptoColumns) - action = "print", "restore" or "store"
- arrayName = name of the array, within quotes
- dimensionalData format = [((#planes, )#rows, )#columns]
- uptoColumns=option to store on element level
Designed for:
Philips Pronto Professional TSU9600
|
|
System Globals - Variables Exchange Utility
Added by Rusty Fobe | 2009 | 2,875 views
v1.1 Prints, restores or stores a set of variables into/from System Globals. Keeps the original type of the variables when they are restored. Print shows the data in source format (=> ProntoScript console). Although I have programming experience, I am a javascript beginner and hobbyist related to the pronto TSU9600. Javascript experts can improve the code for sure. I tested it in my TV channel application, in which it appears to work well. function = dumpVariables (action, variables) - action = "print", "restore", "store"
- variables = ["myVar1", "myVar2", etc]
Designed for:
Philips Pronto Professional TSU9600
|
|
Trace Utility
Added by Rusty Fobe | 2009 | 3,110 views
The trace function is a logic debugging aid used with Pronto Script console, intended to offer more than System.print. It has 4 optional user definable arguments: function = trace (location, variables, traceDecision, traceType) - trace () prints the function that called trace
- trace ("here") also prints user supplied location information
- trace (variables), where variables is an array of variable names prints the content of the variables. Each name between quotes.
- trace ("locA", variables, 1) prints also line with variable types
- trace ("locB", variables, 2) prints only a line with variable types, below the location information (caller function + location)
Although it is a quite a large function (a.o. due to the various possibilities and checking), it is easy to use.
Designed for:
Philips Pronto Professional TSU9600
|
|
Widget Blinker
Added by Rusty Fobe | 2009 | 3,072 views
Makes a widget blink for a given number of times at a given frequency.
function = blink (blinkData)
blinkData = [widgetTag, blinkQuantity, blinkFrequency]
Designed for:
Philips Pronto Professional TSU9600
|
|
|