Invalid complex literal format

The format of this complex literal is not valid. A valid complex literal consists of an opening parenthesis (, a floating-point or integer number, a comma, a second floating-point or integer number and a closing parenthesis ). Examples of valid complex literals are:

(0,0)
(23.3, .274i)
(.,.) ; equal to (0,0)

Examples of invalid complex literals:

(,)
(0,
(23i,0)

See Also
Errors