Ah, what I posted should compile in C or PBP, and in both languages inner brackets should evaluate first, and in order toward outer brackets.
PBP
CCode:if (battery=charged) && (lightbulb != blown) then ‘ AND bulb will light endif
Code:if (battery=charged) && (lightbulb != blown) { ‘ AND bulb will light }





Bookmarks