On 28 March 2011 19:14, john skaller <[email protected]> wrote:
>
> On 29/03/2011, at 3:27 AM, Rhythmic Fistman wrote:
>
>> Still porting old felix to new - now the compiler is objecting to
>>
>> #if true
>>
>> #else
>>
>> #endif
>>
>> What should I do? I could use a real if statement
>
>
> Yes. There's no preprocessor now. There are also no macros
> except for
>
> macro val x = ...
How would I write that if statement?
I tried
if(1 == 1) then {
...
} else {} endif;
and it got confused.
I used 1 == 1 because I don't know what true is called. And also
because Java errors if your constant boolean expression is too "easy".
Is there a "true"? Java has beaten
RF
>
>
> --
> john skaller
> [email protected]
>
>
>
>
>
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and publish
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language