This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
|
A Tinderbox Reference File : Objects & Concepts : Coding conventions : Case-sensitivity | aTbRef Site Map |
Case-sensitivity |
Tinderbox's host OS is case-sensitive as is the app in the majority of cases. Notable exceptions are export codes and agent query special arguments. In both cases there is a general TB usage convention to intercapitalise such words - lower case start and capitals at concatenated word boundaries. Intercapitalisation helps distinguish different Tinderbox code types.
Conversely, attributes are case-sensitive: IsInside, Isinside, isInsdie and isinside would all be treated as different attributes by Tinderbox if forced to guess. Of the four styling the first is recommended, the second less so and the last two are deprecated to avoid user or app confusion as to purpose when using in code.
To help illustrate this, consider a fictional 'insideness' state - 'is inside' - as expressed through the major code types, noting that:
Other areas where case sensitivity has an impact are in searching (queries & find dialog) and sorting (containers). By default:
Up: Coding conventions | |
Next: Strings in Tinderbox coding - quoting and escaping |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]