ack/lang/basic/lib/asc.c
2018-06-24 00:35:51 +02:00

9 lines
115 B
C

#include "lib.h"
int _asc(String* str)
{
if (str == 0 || str->strval == 0)
error(3);
return (*str->strval);
}