Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Code not working

Avatar

Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
Level 2

06-05-2013

Hi All,

I have written the following code, but it is not working, and I do not know why. I wrote this using javascript.

  

if(BTY.rawValue > 1 & Kasc.rawValue > 3){
    Grllac.presence="visible";
}

I am just wondering if it is not responding to the &(AND) operator I used.

Thanks

v/r

Tammy

View Entire Topic

Avatar

Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
lpianwi
Level 2

Like

1 like

Total Posts

69 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
lpianwi
Level 2

06-05-2013

Thanks Kyle, I did change that, and it does not seem to get into the second part of the script after the AND &&. Here is the code.

if(BTY.rawValue > 1 && Kasc.rawValue > 3){
    Grllac.presence="visible";
}