Re: Terminolgy: the verb corresponding to "toString"



Roedy Green wrote:
What is the tersest way to document a toString style method.

I would like to say something like this:

"displays" the width and height in both metric and imperial measure

But it does not display anything, just prepares for display.

I have seen people also use misleading terms like "show" and "print".

What do you use?

The best I can come up with is "format". Sun uses this is the
SimpleDateFormat class.

To me, "format" implies some sort of complicated masks or a choice of
layouts.

"prepare" is too vague.

Perhaps a phase "convert x to a string"


"Returns a String describing ..."
"Returns a description of ..."
"Describes ..."

--
RGB
.



Relevant Pages

  • Re: Displaying Currency on a VB . NET windows form
    ... Isn't there a property that just can be set on how to display the Money, ... You can put this string object in a TextBox. ... A date field has a "format" property. ... any decimals. ...
    (microsoft.public.dotnet.general)
  • Re: Multiple date formats in a Table
    ... a date field could not store just the year 2004 - it would have ... display it as 1 Jan 2004, or you would have to just display the year for all ... The conversion of your existing text format date should be done in a query, ... Public Function TextToDate(strDate As String) As Date ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Tapble top fusion generator
    ... >increased my monitor format to 1280x1024 and display it on a Mitsubishi ... >using a screen format less than 1280x1024 and the low -resolution LCD ... >Since the poster writing about the character overlap, ... is, when you make one web site viewable, you can render others ...
    (sci.physics.fusion)
  • Re: Date Time Variant NOT read when loading CSV
    ... Time format ... General to see that XL's parsed the string correctly - the two colons ... To correct the display, ... > In a CSV Excel reads most things OK ...
    (microsoft.public.excel.misc)
  • Re: Displaying Currency on a VB . NET windows form
    ... time format specifiers. ... form of string to be displayed. ... Isn't there a property that just can be set on how to display the Money, ... any decimals. ...
    (microsoft.public.dotnet.general)