bracket

bracket definition - computer

In programming, brackets (the [ and ] characters) are used to enclose numbers and subscripts. For example, in the C statement int menustart [4] = {2,9,15,22}; the [4] indicates the number of elements in the array, and the contents are enclosed in curly braces. In the C expression, if (ABCbuff [501] == '\x1'), the [501] indicates the 501st byte of the ABC buffer (starting with 0). See also bracketing.



Computer Desktop Encyclopedia THIS DEFINITION IS FOR PERSONAL USE ONLY
All other reproduction is strictly prohibited without permission from the publisher.
Copyright © 1981-2009 by Computer Language Company Inc. All rights reserved.

Comments
Improve this definition.
Do you have more to add? Share your linguistic knowledge or observation.
/Register to save your comments.