parenthesis

parenthesis definition - computer

The left parenthesis "(" and right parenthesis ")" are used to delineate one expression from another. For example, in the query list for size="34" and (color = "red" or color ="green"), parentheses group the ORs together so they are a distinct entity from the AND.

In programming, parentheses are used to surround input parameters of a function call. For example, in C, the string compare statement strnicmp (itemA, itemB, 10) uses parentheses to group the ITEMA, ITEMB and 10 values handed over to the function.



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.