ALGOL 68/prelude: Difference between revisions

Line 155:
# find the element in the list, if it is there #
BOOL found element := FALSE;
INT ec := 0;
WHILE ( element ISNT nil element list )
AND NOT found element
DO
ec +:= 1;
found element := ( key OF element OF element = key );
IF found element
3,021

edits