Scripting

From Torque Wiki
Revision as of 14:18, 18 January 2022 by Ihawkins (talk | contribs) (Accessible Classes)
⧼monobook-jumptonavigation⧽⧼monobook-jumptosearch⧽

Note: This is in beta and will be in Torque 1.12.1 when released in Jan 2022

in progress build


Scripting

Torque now supports scripts using a simple java-like scripting language

An example set of scripts can be seen on the [GitHub] page


Accessible Classes

Torque specific classes:

Log
Sensor
OBD
Time
Dialog
PushButton

Some of the standard java classes and interfaces:

Long
Int
Float
Double
Math
String
HashMap
HashSet
ArrayList
Scanner
StringTokenizer
BigInteger
BigDecimal
Arrays
Collections
LinkedList
Date
SimpleDateFormat
DecimalFormat
NumberFormat