X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2023-05.git/blobdiff_plain/939049115b3f1eaf18c1ecf67c7340b83822ea89..d360dfb82e52a96fe565ec441fab1f63366466b5:/src/notes.tm diff --git a/src/notes.tm b/src/notes.tm index 884ee8c..0d4cac6 100644 --- a/src/notes.tm +++ b/src/notes.tm @@ -16,6 +16,40 @@ <\description-compact> + An expression in which a variable is set to a value. + For example, in the expression >, the variable + is set to the value because is to the left of the equals + sign \ \P\Q. The value of the entire expression is equal to the + value of the left hand side (i.e. in this example) after the + assignment is performed. For example, the following C code will print + \P\Q: + + <\cpp-code> + #include \stdio.h\ + + int main() { + + \ \ int c; + + \ \ if( (c = 7) == 7 ) + + \ \ \ \ printf("true"); + + \ \ else + + \ \ \ \ printf("false"); + + }; + + + As another example, the following lines are equivalent: + + <\cpp-code> + a = b = c = 0; + + a = ( b = ( c = 0 ) ); + + >A construct that establishes an association between a particular variable, function, or type and its attributes. (See @@ -221,7 +255,7 @@ > > > - > + > |?>> |?>>