Short circuit logic
|
04-18-2020, 11:35 AM
Post: #3
|
|||
|
|||
RE: Short circuit logic
It is for the sake of simplification, in a logical operation when using "AND", if the first value is false it will obviate the following values of the same level, because in an "AND" operation, a false is enough for everything to be false.
This is a valid alternative: Boolean_real AND Function_or_ (operation) "Function" or "Operation" must return a real or integer number, because logical operators only accept those values. (operation1; operation2; ...): This is a syntax error Examples of argument error: Boolean_real AND Complex --- bad Boolean_real AND String --- bad Boolean_real AND Unit --- bad ... Viga C | TD | FB |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Short circuit logic - mchris - 04-18-2020, 08:17 AM
RE: Short circuit logic - DrD - 04-18-2020, 11:06 AM
RE: Short circuit logic - CyberAngel - 04-18-2020, 07:52 PM
RE: Short circuit logic - Carlos295pz - 04-18-2020 11:35 AM
RE: Short circuit logic - Carlos295pz - 04-18-2020, 11:39 AM
|
User(s) browsing this thread: 1 Guest(s)