← BYTES
KDB·Starter·Ref: 33.1.11

Which of these is a valid basic q assignment?

Have a question about this video? Mention reference 33.1.11 when you contact us.

a.x = 5
b.x := 5
c.let x = 5
d.x: 5
q uses a single colon `:` for assignment, e.g. `x:5` -- not `=` (which is the equality comparison operator) and not `:=`.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES33111#KDB