2. quick print ??
- Posted by Bernie Ryan <xotron at localnet.com> Jun 01, 2002
- 437 views
Is there a function out there that lets me print sequences, objects and atoms to a file instead of standard out the same way that quick print "?" does. PS: Rob, Why isn't there a print routine in the interpreter like quick print "?" that allows me to print to a a selected file instead of standard output ? This would be make debugging alot easier when working with big sequences that you truncate in your error messages ? Most all of the code to do this is already written in the source. Bernie
3. Re: quick print ??
- Posted by tone.skoda at siol.net Jun 01, 2002
- 411 views
--by David Cuny? function print_format( object o ) -- returns object formatted for wPrint sequence s if atom( o ) then -- number if o >= ' ' and o <= '}' then return sprintf( "%d'%s'", {o,o} ) --return sprintf( "%s", o ) else return sprintf( "%d", o ) end if else -- list s = "{" for i = 1 to length( o ) do s = s & print_format( o[i] ) if i < length( o ) then s = s & "," end if end for s = s & "}" return s end if end function ----- Original Message ----- From: "Bernie Ryan" <xotron at localnet.com> To: "EUforum" <EUforum at topica.com> Sent: Saturday, June 01, 2002 9:36 PM Subject: quick print ?? > > Is there a function out there that lets me print > sequences, objects and atoms to a file instead of > standard out the same way that quick print "?" does. > > PS: Rob, Why isn't there a print routine in the interpreter > like quick print "?" that allows me to print to a > a selected file instead of standard output ? > This would be make debugging alot easier when working with big sequences > that you truncate in your error messages ? > Most all of the code to do this is already written in the source. > > Bernie > > > >
4. Re: quick print ??
- Posted by Robert Craig <rds at RapidEuphoria.com> Jun 02, 2002
- 421 views
Bernie Ryan writes: > Is there a function out there that lets me print > sequences, objects and atoms to a file instead of > standard out the same way that quick print "?" does. See print() in library.doc Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com