User Tools

Site Tools


macros:type:boolean

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macros:type:boolean [2017/10/29 16:32] – ↷ Page moved from type:boolean to macros:type:boolean icke_siegenmacros:type:boolean [2017/10/29 16:35] (current) – ↷ Links adapted because of a move operation icke_siegen
Line 1: Line 1:
 ====== 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 [[type:string|strings]]...).+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 [[macros:type:string|strings]]...).
  
-Example [[example:timecodeonoff]]:+Example [[macros:example:timecodeonoff]]:
  
 <code xml> <code xml>
macros/type/boolean.1509294733.txt.gz · Last modified: 2017/10/29 16:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki