O/S Variables

<< Click to Display Table of Contents >>

Home  mIoTa BASIC > mIoTa BASIC Language Reference > Variables >

O/S Variables

O/S (Operating System) Variables are predefined. They are a mixture of settings variables and information variables. mIoTa BASIC can access these to change system settings such as the time and date, output states, network IP Address, Wifi password, etc. as well as read information such as input states or analogue input voltages. There are a number of different letter prefix’s used for different types of variable. Some can be written to as well as read, while others are read-only.

 

The full list of O/S Variables can be found in the IDE's 'Variables Panel'. A predefined 'Friendly Name' is specified for each O/S variable which can be copy and pasted into the event code in place of the standard letter and number combination to help with code readability.

 

Network Access can be granted to any of these variables to allow web pages/network apps to read and write their contents. Disabling network access allows increased security and reduces the possibility of remotely altering variables that shouldn't be altered at runtime.

 

 

 

Related topics: Data Types, O/S Variables - Quick Reference