The following page was printed from RemoteCentral.com:
Before you continue!
This file area has been replaced with a newer one! As of 2011, this section is no longer being updated, and some files may show as unavailable. For free access to all of these downloads and many newer ones, visit our NEW file area at: http://files.remotecentral.com
Utilities - System Globals - Array Exchange Utility
For: Pronto TSU9600
By: Rusty Fobe
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]
Utilities - System Globals - Variables Exchange Utility
For: Pronto TSU9600
By: Rusty Fobe
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.
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.