Erlang/OTP Forums

Author Message

<  Erlang  ~  emacs multi-line string

5hundy
Posted: Mon Nov 10, 2008 9:37 am Reply with quote
User Joined: 14 Oct 2007 Posts: 17
Does anyone know how to split up a really long string over multiple lines to make the formatting look right in emacs? The automatic indentation goes nuts if I just hit enter half-way through it.
View user's profile Send private message
Mazen
Posted: Tue Nov 11, 2008 7:22 am Reply with quote
User Joined: 20 Jul 2006 Posts: 164 Location: London
io:format("This is a really long string"
"which spans over several lines"
"and is also easy to read", []).

/M
View user's profile Send private message
5hundy
Posted: Tue Nov 11, 2008 10:31 pm Reply with quote
User Joined: 14 Oct 2007 Posts: 17
Thanks! Smile
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum