Logo

Programming-Idioms

  • Lisp
  • Erlang
  • Obj-c
NSString *s=@"Huey\n"
            @"Dewey\n"
            @"Louie";

Same as plain C, but for @'s denoting ObjC string objects. From 2nd part on optional (ie., if preferred, could be just "Dewey\n" "Louie").
(setf s "a
b
c
d")
S = "Strings
may span
across multiple lines"
"and they can"
"have as many portions"
"as you want"
"all of them quoted".

variables are uppercased here
s : String := "Will this compile? " &
     "Oh yes it will";

I'm assuming this is what is meant by "consisting in several lines of text."

Use New_Line for line feeds.

New implementation...