On Sun, May 04, 2025 at 10:22:51AM +0200, 'Ralf Hemmecke' via FriCAS - computer 
algebra system wrote:
> Probably the answer is no, but does FriCAS allow to enter multiline strings
> similar to python's
> 
> """foo bla
> hello world
> baz"""
> 
> so that the newlline is included.

FriCAS used to allow newlines in strings, but it was implemented
differently in interpreter and Spad compiler so in now removed.

You can put newlines in the string like:

nl ==> new(1, newline())$String
fmy_str() ==
   "foo bla" nl "hello world" nl "baz"

print fmy_str()


-- 
                              Waldek Hebisch

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/fricas-devel/aBdkzjyMEY-AuelS%40fricas.org.

Reply via email to