Stateflow | ![]() ![]() |
Naming Conventions for Properties and Methods
By convention, all properties begin with a capital letter, for example, the property Name
. However, if a property consists of concatenated words, the words following the first word are capitalized, for example, the property LabelString
. The same naming convention applies to methods, with the exception that a method name must begin with a letter in lowercase; for example, the method findShallow
.
![]() | Accessing the Properties and Methods of Objects | Using Dot Notation with Properties and Methods | ![]() |