Home › Forums › KX Academy › Fundamentals Capstone 2.2 › Reply To: Fundamentals Capstone 2.2
-
Hi @jkries02 ,
From a quick read of your function, I can see it won’t run because of the structure of your if statements section.
Have a look at the documentation on if here: https://code.kx.com/q/ref/if/
You may find it more useful to use conditional evaluation in this case: https://code.kx.com/q/ref/cond/
Hope that helps!
Laura