EAGLE Help Light

Brackets

Brackets are used in array definitions

int ai[10];
in array subscripts

n = ai[2];
and in string subscripts to access the individual characters of a string

string s = "Hello world";
char c = s[2];


OBSAH Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH