axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] Re: [Axiom-commit] flush


From: root
Subject: [Axiom-developer] Re: [Axiom-commit] flush
Date: Wed, 29 Nov 2006 20:46:06 -0500

in fact, this is a known bug (see src/input/Makefile.pamphlet)
and search for FLUSH.

the package, attached below, makes no reference to how it is used
but it is intended to print lines which do not contain line-feeds
thus requiring the call to flush.

the correct fix would be to add the line:

(defun flush () (force-output))

in vmlisp.lisp


====================================================================

)abbrev package IPRNTPK InternalPrintPackage
++ Author: Themos Tsikas
++ Date Created: 09/09/1998
++ Date Last Updated: 09/09/1998
++ Basic Functions:
++ Related Constructors:
++ Also See: 
++ AMS Classifications:
++ Keywords:
++ References:
++ Description: A package to print strings without line-feed 
++ nor carriage-return.

InternalPrintPackage(): Exports == Implementation where

  Exports ==  with
     iprint: String -> Void
       ++ \axiom{iprint(s)} prints \axiom{s} at the current position 
       ++ of the cursor.

  Implementation == add
     iprint(s:String) == 
          PRINC(coerce(s)@Symbol)$Lisp
          FLUSH()$Lisp





reply via email to

[Prev in Thread] Current Thread [Next in Thread]