view test/octave.test/string/ispunct-1.m @ 2737:38463e268d55

[project @ 1997-02-25 05:23:42 by jwe]
author jwe
date Tue, 25 Feb 1997 05:23:54 +0000
parents
children
line wrap: on
line source

charset = setstr (0:127);

result = zeros (1, 128);

result (34:48) = 1;
result (59:65) = 1;
result (92:97) = 1;
result (124:127) = 1;

all (ispunct (charset) == result)