I'm a little new to pseudocode, What does :
mean in pseudocode?
For example:
X ← copy(C[s − a : s + len])
X ← copy(C[s − a : s + len])
From s - a
to s + len
.
Since pseudocode is an informal description of code, any particular piece of pseudocode means whatever the author intended it to mean. Usually the meaning is either obvious from context or the author provides some kind of key to the symbols they use.
In this case, the colon appears to be a range operator. But, you should not take that to mean that it will always be a range operator in any other pseudocode that you run across.
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