[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: get rid of prolog banner
From: |
olivier . dameron |
Subject: |
Re: get rid of prolog banner |
Date: |
Sat, 26 Apr 2003 21:46:30 +0200 (MEST) |
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.
However, I've got an error:
address@hidden:~/projet/prolog> gprolog --init-goal
'[testProlog],open(result,write,myOutput,),set_output(myOutput),foo(bar);close(myOutput),halt(0)'
warning: command-line goal
'[testProlog],open(result,write,myOutput,),set_output(myOutput),foo(bar);close(myOutput),halt(0)'
caused exception:
error(syntax_error('constant term stream:1 (char:41) expression
expected'),read_term_from_atom/3)
Thanks,
Olivier
> > I would like to get rid of the 6-lines banner:
> > GNU Prolog 1.2.16
> > By Daniel Diaz
> > Copyright (C) 1999-2002 Daniel Diaz
> > compiling /home/olivier/tmp/prolog/testProlog.pro for byte code...
> > /home/olivier/tmp/prolog/testProlog.pro compiled, 32 lines read - 2832
> bytes
> > written, 25 ms
> > | ?- foo(bar);halt(0).
> >
> > Is there an easy way to do this, or would a little shell scripting do
> the
> > trick ?
>
> What about --init-goal?
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
- get rid of prolog banner, olivier . dameron, 2003/04/25
- Re: get rid of prolog banner, Erick Alphonse, 2003/04/25
- Re: get rid of prolog banner,
olivier . dameron <=
- Re: get rid of prolog banner, Salvador Abreu, 2003/04/26
- Re: get rid of prolog banner, Lindsey Spratt, 2003/04/26
- Re: get rid of prolog banner, olivier . dameron, 2003/04/27
- Re: SOLVED get rid of prolog banner, olivier . dameron, 2003/04/27
- Re: SOLVED get rid of prolog banner, Daniel Diaz, 2003/04/29