sandman
02-13-2003, 04:43 PM
Hi,
What is the logical AND operator in laszlo? I am
using '&&' in the following code and get an error.
if ((x1 > charm_topleft_x) && (x1 < charm_bottomright_x) && (y1 > charm_topleft_y) && (y1 < charm_bottomright_y))
{
Debug.write("on top");
}
The error:
Error: draggablewindow.lzx:39:40: The entity name must immediately follow the '&' in the entity reference
thanks,
Sandeep.
What is the logical AND operator in laszlo? I am
using '&&' in the following code and get an error.
if ((x1 > charm_topleft_x) && (x1 < charm_bottomright_x) && (y1 > charm_topleft_y) && (y1 < charm_bottomright_y))
{
Debug.write("on top");
}
The error:
Error: draggablewindow.lzx:39:40: The entity name must immediately follow the '&' in the entity reference
thanks,
Sandeep.