Anonymous user
Boolean values: Difference between revisions
added Go
(Added a solution for MATLAB) |
(added Go) |
||
Line 195:
=={{header|Fortran}}==
Fortran has a '''logical''' data type which can be set to either '''.true.''' or '''.false.'''.
=={{header|Go}}==
Go defines a built-in data type <code>bool</code>, which has exactly two values, represented by the keywords <code>true</code> and <code>false</code>. There is no conversion between booleans and other data types.
=={{header|Haskell}}==
|