[Laszlo-dev] Re: printf question

P T Withington ptw at laszlosystems.com
Tue Jan 24 10:10:27 PST 2006


What should the utility class be called?  LzUtil?

On 24 Jan 2006, at 12:46, Max Carlson wrote:

> It would be great to refactor your printf code into a utility class  
> so it's easy to use outside the debugger...
>
> -Max
>
> P T Withington wrote:
>> I confess I was referring to the Darwin man page when I  
>> implemented Debug.format.  Personally, I do not think it is  
>> important to go into more detail.  But surely there must be a  
>> POSIX standard that you should be referring to, if you refer to  
>> anything.  (And then I should check that what I implemented  
>> conforms to that POSIX spec.
>> On 24 Jan 2006, at 09:21, John Sundman wrote:
>>> The Dguide chapter on debugging merely says "The standard printf  
>>> conversions are accepted, with the exception of a, n, and p" ,  
>>> but it does not say what these standard conversions are.
>>>
>>> You can find them on the net, for example, here:
>>>
>>> http://www.cplusplus.com/ref/cstdio/printf.html
>>>
>>> Questions:
>>>
>>> a) These are all derived from C, n'est-ce pas?
>>>
>>> b) Is there a public domain description of these conversions  
>>> anywhere?   I would like to include a table in the dguide but  
>>> don't want to violate anybody's copyright -- and it certainly  
>>> would be easier to cut-n-paste a table than to make up a new one.
>>>
>>> c) If there is no public domain description, is there a preferred  
>>> place I should link to?  I just used the one above because it  
>>> came out tops from a google search.
>>>
>>> Thanks
>>>
>>> jrs
>>>
>> _______________________________________________
>> Laszlo-dev mailing list
>> Laszlo-dev at openlaszlo.org
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>



More information about the Laszlo-dev mailing list