works like a charm, thanks nonpuz
Type: Posts; User: Tassadar
works like a charm, thanks nonpuz
but (AND) expressions should be executed before (OR) ones.
if i do what you say, will loose the precedense of AND operand...
not that it works now, anyway. just treats OR exactly like AND.
think...
using yiur guidance, salem, i've made this.
but i cant see the logic behind (OR) operation, and
the program treats (+) expressions just like it treats
(*) ones, thus f+t=f, t+f=f, t+t=t, f+f=f....
No no, without "()", cant use those.
just help me with a way to solve the logical
expression itself plz.
'*' means && (AND)
'+' means || (OR)
'T' and 'F' mean true and false (1 & 0).
'*' (&&) comes before '+' (||),
between 2 values (F or T) will always be an operator ('+' or '*')
example:...