Phix : tip
- Posted by ChrisB (moderator) Feb 03, 2017
- 1343 views
Self explanatory, I hope
--Test commenting differences between Phix and Eu --Ignored by Phix, included by Eu --/* include std/console.e --*/ integer WITH_PHIX = 0, WITH_EU = 0 object VOID --Block comments /* puts(1, "Neither Eu nor Phix execute this\n") */ --/* puts(1, "Eu prints this, Phix does not\n") --*/ --/**/puts(1, "Phix prints this, Eu does not\n") --/**/ puts(1, "Runs with Phix\n") --/* puts(1, "Runs with Eu\n") --*/ --/**/ WITH_PHIX = 1 WITH_EU = 0 --/* WITH_PHIX = 0 WITH_EU = 1 --*/ if WITH_PHIX then puts(1, "Running under Phix\n") end if if WITH_EU then puts(1, "Running under Eu\n") end if VOID = wait_key()