RosettaCodeData/Task/Inverted-syntax/R/inverted-syntax-3.r
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

3 lines
89 B
R

`%if%` <- function(expr, cond) if(cond) expr
print("Wow! Lucky Guess!") %if% (guess==6)