Re: [Felix-language] preprocessor

2011-03-29 Thread Rhythmic Fistman
On 29 March 2011 11:06, john skaller wrote: > > On 29/03/2011, at 4:28 AM, Rhythmic Fistman wrote: >> >> 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. > > O

Re: [Felix-language] preprocessor

2011-03-29 Thread john skaller
On 29/03/2011, at 4:28 AM, Rhythmic Fistman wrote: > > 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. One can always look at the library code for hints :) A fun

Re: [Felix-language] preprocessor

2011-03-28 Thread Erick Tryzelaar
On Mon, Mar 28, 2011 at 10:28 AM, Rhythmic Fistman wrote: > > 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 e

Re: [Felix-language] preprocessor

2011-03-28 Thread Rhythmic Fistman
On 28 March 2011 19:14, john skaller 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 preprocess

Re: [Felix-language] preprocessor

2011-03-28 Thread john skaller
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 =

[Felix-language] preprocessor

2011-03-28 Thread Rhythmic Fistman
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 or just take the plunge and expunge that unused code. RF -- Create and publish