User Tools

Site Tools


macros:type:boolean

Boolean

A boolean value is the most digital type possible: it can only be Yes or No. Nothing else. However, while in many programming languages there are several synonyms for both (0 and 1, yes and no, and more), it is always best to stick to one pattern - and this pattern shall be true and false. As these are constants, you need to write these without quotes. (Using quotes would make them strings…).

Example Timecode - Enable/Disable:

<step>ActionScript.SetProperty.Boolean("Timecode.Enabled", true)</step>

This sets the property 'Timecode.Enabled' to 'true' - thus enabling timecode in the system.

Also used in
You could leave a comment if you were logged in.
macros/type/boolean.txt · Last modified: 2017/10/29 16:35 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki