<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I have taken a month or two away from CL to learn obj-c/cocoa so that I can use the cocoa bridge more knowledgeably. Now I am reading up on foreign functions etc. in the ccl documentation.</div><div><br></div><div>Question:</div><div><br></div>The ccl doc section 12.12 <font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><i>The Foreign-Function-Interface Dictionary </i></span></font>gives this example:<div><br></div><div><span class="Apple-style-span" style="font-family: Times; "><pre xmlns="http://www.w3.org/1999/xhtml" class="programlisting">(with-cstrs ((format-string "the answer is: %d"))
(#_printf format-string :int answer))</pre></span><div><br></div><div>This just returns an integer (19) when I key it in to ccl. Should I expect it to print what it looks like it would print? What else must I do here? (I had set 'answer' to an integer value.)</div><div><br></div><div>- Phil -</div></div></body></html>