Re: [personal kdb+] syntax of if statement with a question mark

see

http://code.kx.com/wiki/JB:QforMortals/execution_control#Basic_Conditional_Evaluation

http://code.kx.com/wiki/JB:QforMortals/execution_control#Extended_Conditional_Evaluation

and vector conditional section of

http://code.kx.com/wiki/Reference/QuestionSymbol

n.b. you want ; not ,

It’s called vector conditional.
Use semi-colons instead commas.

code.kx is your friend:
http://code.kx.com/wiki/Reference/QuestionSymbol#vector_conditional

cheers
patryk

got it.. thanks

cheers

dinesh