Tutorial by Topics: control

All control structures, unless otherwise noted, make use of block statements. These are denoted by curly braces {}. This differs from normal statements, which do not require curly braces, but also come with a stiff caveat in that only the line immediately following the previous statement would b...
public type name[ = value]; private type name[ = value]; protected type name[ = value]; type name[ = value]; public class name{ class name{ From the Java tutorial: Access level modifiers determine whether other classes can use a particular field or invoke a particular method. There a...
A key component of interactive web systems, input tags are HTML elements designed to take a specific form of input from users. Different types of input elements can regulate the data entered to fit a specified format and provide security to password entry. <input type="" name=&quo...
[ "$1" = "$2" ] #A "[" bracket is actually a command. Because of this it requires a space befor and after it. test "$1" = "$2" #Test is a synonym for the "[" command Parameter to [ or testDetailsFile OperatorsDetails-e "$file&...
When using Channel Groups, you should not add or remove channels in your client side applications. This example shows adding channels to a channel group and subscribing to that channel group for simplicity sake. But in a real world scenario, you should have your server do all the add/remove of cha...
<htmlElement ng-controller="controllerName"> ... </htmlElement> <script> app.controller('controllerName', controllerFunction); </script>
<select name=""></select> <datalist id=""></datalist> <optgroup label="Option Group"></optgroup> <option value="">Option</option>
A UIAlertController object displays an alert message to the user. This class replaces the UIActionSheet and UIAlertView classes for displaying alerts. After configuring the alert controller with the actions and style you want, present it using the presentViewController:animated:completion: ...
private class Project let car = Car("Ford", model: "Escape") //default internal public enum Genre private func calculateMarketCap() override internal func setupView() private(set) var area = 0 Basic Remark: Below are the three access levels from highest access ...
From the documentation: The UINavigationController class implements a specialized view controller that manages the navigation of hierarchical content. This navigation interface makes it possible to present your data efficiently and makes it easier for the user to navigate that content. You gene...
structure: /* code */ endstructure; When mixing the alternative structure for switch with HTML, it is important to not have any whitespace between the initial switch($condition): and first case $value:. Doing this is attempting to echo something (whitespace) before a case. All control stru...
display: none | inline | block | list-item | inline-list-item | inline-block | inline-table | table | table-cell | table-column | table-column-group | table-footer-group | table-header-group | table-row | table-row-group | flex | inline-flex | grid | inline-grid | run-in | ruby | ruby-base | ruby-...
xmlns:fx="http://javafx.com/fxml"       // namespace declaration

Page 1 of 5