File:  [CSRG BSD Unix] / 43BSDReno / pgrm / pascal / tstpx / src / setret.p
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:57 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

program setret(output);

type
bigset = set of char;

var
old :bigset;

function bigit(inp : bigset) :bigset;
begin
bigit := inp - ['a'..'z'];
end;

begin
old := ['g'..'w', 'A'..'S'];
writeln('before ', card(old));
writeln('after ',card(bigit(old)));
end.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.