Today i got some trouble, because i wrote this:
Code: Select all
class Form1 : Window
{
/*WINDOW properties stuff...*/
bool neg1=false;
bool neg2=false;
Code: Select all
bool NotifyClicked(Button button, int x, int y, Modifiers mods)
{
String negacion;
String negacion2;
if( this.neg1 == false){
negacion = PrintString("");
}else{
negacion = PrintString("¬");}
if( this.neg2 == false){
negacion2 = PrintString("");
}else{
negacion2 = PrintString("¬");}
Code: Select all
Default Compiler
Building project Logica using the Debug configuration...
Compiling...
form1.ec
form1.ec:16:13: error: syntax error
form1.ec:16:13: error: syntax error
form1.ec:17:13: error: syntax error
form1.ec:17:13: error: syntax error
form1.ec:16:14: error: couldn't find member false in class Form1
form1.ec:161:4: error: couldn't determine type of this.false
form1.ec:161:4: error: couldn't determine type of this.false
form1.ec:161:4: error: couldn't determine type of this.false=
form1.ec:161:4: error: couldn't determine type of this.false=
Logica.exe (Debug) - 9 errors, no warning
Code: Select all
bool neg1=false;
bool neg2=false;
Thanks in advance!