Quick Question About Short-Circuit Evaluation
- Posted by Icy_Viking in July
- 606 views
Is this how you'd do Short-Circuit Evaulation in Euphoria in regards to converting C code to Euphoria code?
// Code B2_INLINE float b2MinFloat(float a, float b) { return a < b ? a : b; }
public function b2MinFloat(atom a,atom b) return a < b end function