[Top][All Lists]

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

Re: get rid of prolog banner

From: Salvador Abreu
Subject: Re: get rid of prolog banner
Date: Sat, 26 Apr 2003 22:03:25 +0100

address@hidden wrote:

> The --init-goal is ok for the prolog banner, but I still have a few
> lines when loading the facts from the file.

> Eventually, I would need a silent mode, or a to redirect standard
> output after reading the file.

If it's possible to do so, why don't you compile your program?  Try
something like this:

        22:00:35$ cat
        :- initialization(main).
        main :- write('hello world!'), nl.
        22:00:39$ gplc -o foo --no-top-level
        22:01:13$ ./foo
        hello world!

ie. compile with "--no-top-level" and provide a directive ":-


reply via email to

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