Really basic syntax question in pseudocode. What does :=
mean in Pseudocode?
Example
a := 1
:= is the assignment operator for languages that use single equals sign equality testing. The most well known of those languages is Pascal. Due to C's influence most languages switched to = for assignment and == for testing.
ENDWHILE; TheWHILE - ENDWHILE statement defines a program loop. This statement can only be used inside a database procedure. The Boolean expression (boolean_expr) must evaluate to true or false.
Those symbols marked with an asterisk are user-tuned input parameters to the algorithm.
In pseudo code := means assignment
whereas = means equality
a:=1 in pseudo code means a=1 in most languages
while, a=1 is generally used for conditional checking in pseudo code i.e. if(a=1) in pseudocode means if (a==1) in most languages
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With