ack/lang/basic/lib/asc.c

12 lines
137 B
C
Raw Normal View History

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