Hi,
you can use to-integer, which is a shortcut for make integer!.
>> to-integer #"^/"
== 10
>> to-integer newline
== 10
>> make integer! newline
== 10
But you can compare characters directly, you don't need to convert them
to integers.
> [EMAIL PROTECTED] wrote:
>
> Hi guys,
>
> I'd like to test if some lines in a file end up with CR+LF or not.
>
> I know there's make char! VALUE that gives me the character to that
> value.
>
> Is there any built in function that returns the ASC value of a
> character?
>
> Carlos
--
Michal Kracik