What does colon equals mean




















Show 2 more comments. Active Oldest Votes. Note: I found this by searching for colon equals operator. Improve this answer. Ironically, this answer is now above Wikipedia when searching for colon equals operator. That link looks old. Here's the updated link I think , but the quote seems to be massively changed since then and I can't track down the new quote exactly: en.

Add a comment. John Kugelman John Kugelman k 65 65 gold badges silver badges bronze badges. Matias Forbord Matias Forbord 5 5 silver badges 8 8 bronze badges. Another interpretation from outside the world of programming languages comes from Wolfram Mathworld , et al: If A and B are equal by definition i. Mike Lewis Mike Lewis 61k 20 20 gold badges silver badges bronze badges.

Pacerier see this post stackoverflow. TigOldBitties, Good gotcha from Erwin down there. Wenfang Du Wenfang Du 3, 5 5 gold badges 23 23 silver badges 54 54 bronze badges. This is old pascal syntax for the assignment operator. Master James Master James 1, 13 13 silver badges 16 16 bronze badges. For VB. Near Near 2 2 silver badges 15 15 bronze badges. In Prolog, there is no distinction between assignment and the equality test. Michael restore Monica Cellio Michael restore Monica Cellio 6 6 silver badges 21 21 bronze badges.

Haskell does not have destructive assignment in the way of Pascal, Ada etc. It is more analogous to the process of substituting values into parameters in a subroutine call.

Michael Fair enough. You're right. To mean such that in constructions such as voiced "the set of numbers such that. To give a name to a map , e. As a part of the symbol sometimes used to mean " is defined as. To delineate the three elements of trilinear coordinates , i. To indicate an extension field degree of an extension field , denoted. To denote colon product of two dyads.

Grossman, J. Managing Ed. Weisstein, Eric W. Python Javascript Linux Cheat sheet Contact. This syntax is available in Python 3. Updated answer In the context of the question, we are dealing with pseudocode, but starting in Python 3.

Original Answer What you have found is pseudocode Pseudocode is an informal high-level description of the operating principle of a computer program or other algorithm.



0コメント

  • 1000 / 1000