Name

, (comma)

Examples
# Comma used to separate like in various cases:
# 1. a list of variable declarations
a, b, c = 20, 30, 80
# 2.a list of values
d = [20, 60, 80]
# 3.a list of parameters passed to a function
line(a, b, c, b)
line(d[0], d[1], d[2], d[1])
Description Separates parameters in function calls and elements during assignment.
Syntax
value1, ..., valueN
Parameters
value1, ..., valueNany int, float, byte, boolean, color, char, String

Updated on Tue Feb 27 14:07:12 2024.

If you see any errors or have comments, please let us know.

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

AltStyle によって変換されたページ (->オリジナル) /