What does it mean: = means when used in pseudocode?

When looking at the pseudocode (actually, in the Wikipedia article about A *), I came across using: = to assign or initialize a variable. What does it mean? Is part of some kind of fixed notation? If this complicates something, how could this be implemented in C ++ or Java? Thank.

+5
source share
1 answer

:=indicates the purpose of the variable . :=used when it =is an equality criterion (and not the standard one ==, visible in most modern programming languages), and not an appointment. In Pascal , for example, it is :=used for assignment, and is =used to verify equality. See the Designation section of the assignment article for a list of designations for assignment.

+10
source

All Articles