Jump to content

Boolean values: Difference between revisions

Line 16:
{{works with|ALGOL 68G|Any - tested with release [http://sourceforge.net/projects/algol68/files/algol68g/algol68g-1.18.0/algol68g-1.18.0-9h.tiny.el5.centos.fc11.i386.rpm/download 1.18.0-9h.tiny]}}
{{wont work with|ELLA ALGOL 68|Any (with appropriate job cards) - note: null char is missing, AND the C generated is won't compile, so some conversions are missing from RS}}
ALGOL 68 Enforces strong typing and so has few default coersions. The appropriate operators must be used to convert to and from BOOLean. The following code demonstrate thedemonstrates common conversions:
<lang algol68>BOOL f = FALSE, t = TRUE;
[]BOOL ft = (f, t);
Cookies help us deliver our services. By using our services, you agree to our use of cookies.