Reference.Void History
Hide minor edits - Show changes to output
July 17, 2007, at 02:15 PM
by David A. Mellis -
Changed lines 8-18 from:
// actions are performed in the function "setup" but
// no information is reported to the larger program
void setup(){
serial.begin(9600);
}@]
to:
// actions are performed in the functions "setup" and "loop"
// but no information is reported to the larger program
void setup()
{
// ...
}
void loop()
{
// ...
}
@]
July 17, 2007, at 12:07 PM
by Paul Badger -
Changed lines 3-5 from:
The void keyword is used only in function declarations. It indicates that the function is expected to return no information, to the function from which it was called.
to:
The void keyword is used only in function declarations. It indicates that the function is expected to return no information to the function from which it was called.
July 17, 2007, at 07:41 AM
by Paul Badger -
Changed lines 17-19 from:
to:
July 17, 2007, at 07:41 AM
by Paul Badger -
Added lines 23-24:
July 17, 2007, at 07:41 AM
by Paul Badger -
Changed line 22 from:
to:
[[FunctionDeclaration | function declaration]]
July 17, 2007, at 07:40 AM
by Paul Badger -
Added lines 1-22:
!! void
The void keyword is used only in function declarations. It indicates that the function is expected to return no information, to the function from which it was called.
!!!!Example:
[@
// actions are performed in the function "setup" but
// no information is reported to the larger program
void setup(){
serial.begin(9600);
}
@]
!!!!See also