Some of the following may not constitute good style:

(1) -> newline() == char(10)$Character -- declaration not required in recent 
Fricas or OpenAxiom
 
                                                                   Type: Void
(2) -> newline() 
 
   (2)  

                                                              Type: Character
(3) -> string FORMAT(nil,"Hello, World!~%")$Lisp -- for Lispers
 

   (3)  "Hello, World!
"
                                                                 Type: String
(4) -> format(template:String,input:List String):String == 
    string APPLY('FORMAT,append([LIST()$Lisp,template::SEX],input::List 
SEX)::SEX)$Lisp
 
                                                                   Type: Void
(5) -> format("~a~%",["Hello, World!"])
 
   (5)  "Hello, World!
"
                                                                 Type: String
(6) -> say ["Hello, World!",newLine()] -- historical and simple
 
Hello, World!

                                                                   Type: Void

Kindly, Mark Clements.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Serge D. Mechveliani
Sent: Monday, 30 January 2012 8:00 PM
To: [email protected]
Subject: [fricas-devel] newLine : Character

Please, 
how to express the  newline  character?
(char "\n"   does not work)

Where in docs it is explained?
Thanks.

------
Sergei
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

Reply via email to