comparison test/octave.test/string/toupper-1.m @ 2738:a243d3410229

[project @ 1997-02-25 06:56:52 by jwe]
author jwe
date Tue, 25 Feb 1997 06:57:32 +0000
parents
children
comparison
equal deleted inserted replaced
2737:38463e268d55 2738:a243d3410229
1 charset = setstr (0:127);
2
3 result = charset;
4
5 result ((toascii("a"):toascii("z"))+1) \
6 = result ((toascii("A"):toascii("Z"))+1);
7
8 all (toupper (charset) == result)