K
Kalinkin Kirill
I have to translate code from ruby to .net
And I dont understand what means << in the code. Its simple I know but
please do not delete question and answer the question please
def eval_op(op, val1, val2, expr1, expr2, source, source_expr)
result = val1.send(op, val2)
expr = "(#{expr1} #{op} #{expr2})"
test(result, expr)
source << result; source_expr << expr
find(source, source_expr)
source.pop; source_expr.pop
end
Thanks in advance!
And I dont understand what means << in the code. Its simple I know but
please do not delete question and answer the question please
def eval_op(op, val1, val2, expr1, expr2, source, source_expr)
result = val1.send(op, val2)
expr = "(#{expr1} #{op} #{expr2})"
test(result, expr)
source << result; source_expr << expr
find(source, source_expr)
source.pop; source_expr.pop
end
Thanks in advance!