ack/lang/basic/lib/asc.c

12 lines
135 B
C
Raw Normal View History

1984-11-29 14:22:02 +00:00
#include "string.h"
/* $Header $ */
int _asc(str)
String *str;
{
if(str==0 || str->strval==0)
error(3);
return( *str->strval);
}