On 28/03/2011, at 3:23 AM, Erick Tryzelaar wrote:

> On Sun, Mar 27, 2011 at 3:19 AM, john skaller
> <skal...@users.sourceforge.net> wrote:
>> 
>> Also seems someone (Erick!) stuffed up the headers:
>> 
>> 
>> <html><head>%S</head><body><pre>%S</pre></body></html>
> 
> Oops. Sorry about that. What was the problem? Did I have a typo, or is
> there a problem in formatting strings themselves?

missing f of the  f"...". So we get

output$ "%s" "hello"

which translates to output ("%s" + "hello")

via 

apply*("%s", "hello")

i.e. application of strings is concatenation.

f"%s" is a function, without the f its just a string.

I wouldn't use f"%s" for creating big strings though:
it uses vsnprintf, suspicious dependency on C :)
 


--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to