operator keyword - Logical instructions for CIL -


how can use logical operators and, or, not in cil ?

there no cil opcodes operators; need implement them via conditional branching instead. instance, a && b same a ? b : false, , a || b same a ? true : b, both of relatively easy implement in il (e.g. can use brtrue opcode conditional jump based on value of a).


Comments

Popular posts from this blog

python - Does anyone know how to configure the hunpos wrapper class on nltk? -

mysql - How to insert just year and month into date field? -