https://learninghub.kx.com/forums/topic/fundamentals-capstone-2-2-2
Hello,
I am trying to solve exercise 2.2 in the capstone project. The function I created (attached) doesn't work and I am trying to see where I went wrong. If anyone could lend any help that would be great. Thank you!
s
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