This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

Help with result printing

3 posts · 5732 views

Hello there people!I'm writing the quadratic equation to scheme lisp and i need some help with the results printing:

1)If i define some calculations to the variable a,how do i print the result of the calculations that is stored to a?

2)If the result is a cons then how do i print the cons ?

I tried the display command but i cannot make it work. :/

Please answer me as soon as possible!

Thank you in advance.

Re: Help with result printing

Could you post the code you are using?

Re: Help with result printing

I finally managed to correct my code: A was using uneeded parenthesies! :ugeek: