HighTechTalks DotNet Forums  

printf in J#?

Dotnet VJSharp microsoft.public.dotnet.vjsharp


Discuss printf in J#? in the Dotnet VJSharp forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Sam Evans
 
Posts: n/a

Default printf in J#? - 04-18-2005 , 12:54 PM






I'm sure this has been asked before, but I searched groups.google.com
and didn't find any answers. I was wondering if anyone has created a
class that mimics the printf() function found in many other languages,
for J#?

Thanks.

Reply With Quote
  #2  
Old   
James Park
 
Posts: n/a

Default Re: printf in J#? - 04-18-2005 , 05:49 PM






You mean something like System.Console.Write() ?
"Sam Evans" <wintrmte (AT) gmail (DOT) com> wrote

Quote:
I'm sure this has been asked before, but I searched groups.google.com and
didn't find any answers. I was wondering if anyone has created a class
that mimics the printf() function found in many other languages, for J#?

Thanks.



Reply With Quote
  #3  
Old   
George Birbilis [MVP J#] [9880]
 
Posts: n/a

Default Re: printf in J#? - 04-19-2005 , 10:12 AM



Quote:
I'm sure this has been asked before, but I searched groups.google.com
and
didn't find any answers. I was wondering if anyone has created a class
that mimics the printf() function found in many other languages, for J#?

You mean something like System.Console.Write() ?

..NET has function for formatting strings, I think it's called
"String.Format" or something (static method of string class). Search the
docs for "format". It doesn't use same formatting chars as printf, but is a
lot better in the aspect that they use numbered items in the format string
so you can have your parameters in whatever order you want)

else find some free code for Java and compile it with J#

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
George Birbilis <birbilis (AT) kagi (DOT) com>
Microsoft MVP J# for 2004, 2005
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ QuickTime controls (Delphi & ActiveX: VB, PowerPoint, .NET)
+ Plugs (InterProcess/Internet communication)
+ TranXform (VB6 form to ASP.net WebForm convertion)
http://www.kagi.com/birbilis
+ Robotics
http://www.mech.upatras.gr/~robgroup
.................................................. .......................





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.