Idiomatically determine all the lowercase and uppercase letters: Difference between revisions

m
no edit summary
mNo edit summary
Line 1,085:
abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
</pre>
 
=={{header|XBS}}==
<lang XBS>func printChars(from,to,st){
set arr=[];
for(c=from;to;1){
arr->push(string.byte(c));
}
log(st," ",arr);
del arr;
}
 
printChars(0x61,0x7a,"lowercase");
printChars(0x41,0x5a,"UPPERCASE");</lang>
{{out}}
<pre>
lowercase a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
UPPERCASE A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
</pre>
 
Anonymous user