| Name | void |
||||
|---|---|---|---|---|---|
| Examples | void setup() {
size(200, 200);
}
void draw() {
line(10, 100, 190, 100);
} |
||||
| Description | Keyword used indicate a function returns no value. Each function must either return a value of a specific datatype or use the keyword void to specify it returns nothing. | ||||
| Syntax | void function {
statements
} |
||||
| Parameters |
|
||||
| Usage | Web & Application |