| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
Lisps - Speech Disorder (UK) speechdisorder.co.uk | Treament of Common Diseases Homeopathic, Homeopathic Remedies, common... drjoshisclinic.com | Answers in Question and Answer... thyroidcancer.com | Format Glossary cmeinfo.com |
Format is a function in Common Lisp that can produce formatted text and is normally used in a manner analogous to printf in C and other curly bracket programming languages. However, it provides much more functionality than [edit] ExampleAn example of a C printf("Color %s, number1 %d, number2 %05d, hex %x, float %5.2f, unsigned value %u.\n", "red", 123456, 89, 255, 3.14, 250); Using Common Lisp, this is equivalent to: (format t "Color ~s, number1 ~d, number2 ~05d, hex ~x, float ~5,2f, unsigned value ~u.~%" "red" 123456 89 255 3.14 250) [edit] References
|
| ↑ top of page ↑ | about thumbshots |