Exercise 4.4: General Character Exclusion

Given: an array of characters, chr_array and an array of forbidden characters, forbidden_chr_array;
Compose: a loop that returns an array of the characters from chr_array that are not elements of the array forbidden_chr_array.
for chr in chr_array
returns array of chr unless for forbidden_chr in forbidden_chr_array
                            returns value of sum chr = forbidden_chr
                            end for
end for


Previous Section


If you have any questions about this page, or want more information about the Sisal Language Project, contact:
John Feo at (510) 422-6389 or feo@diego.llnl.gov, or Tom DeBoni at (510) 423-3793 or deboni@llnl.gov.

The Sisal Language Project has been approved as a Designated Unclassified Subject Area (DUSA) K19222, as of 07 August, 1991.

LLNL Disclaimer
UCRL-MI-122601