[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is the value of ^@ as character in elisp
From: |
Pascal Bourguignon |
Subject: |
Re: What is the value of ^@ as character in elisp |
Date: |
Wed, 04 Jul 2007 02:53:49 +0200 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1.50 (gnu/linux) |
Slavomir Kaslev <slavomir.kaslev@gmail.com> writes:
> Hello,
>
> I am new to emacs lisp and I am writing several functions to make
> emacs communicate with Autodesk Maya.
>
> I can't figure a way to get the value of ^@ as character in elisp. For
> the moment I just copied the character in my .el source:
In emacs lisp, characters are integers, like in C.
^@ is 0.
So to get the value of ^@, you can just write 0. For example:
(insert "Hello>" 0 "<world!")
; inserts:
Hello>