That's correct. Programming languages aren't cross-compatible like that, much like you wouldn't be able to take some code written in QBasic and be able to compile it in C#.
Just for the record however, there are a couple of "meta" languages that can apparently compile into other languages. These would be CoffeeScript (
http://www.coffeescript.org), Monkey (
http://www.monkeycoder.co.nz) and Haxe (
http://www.haxe.org) - however these are not systems for creating IF, I just mentioned them for reference.