gforth
[Top][All Lists]
Advanced

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

Re: [gforth] "-e bye" not working with a program


From: Bernd Paysan
Subject: Re: [gforth] "-e bye" not working with a program
Date: Sun, 10 Nov 2013 14:53:17 +0100
User-agent: KMail/4.10.5 (Linux/3.7.10-1.16-desktop; KDE/4.10.5; x86_64; ; )

Am Sonntag, 10. November 2013, 14:29:17 schrieb Marcos Cruz:
> I run Gforth 0.7.2 on Raspbian.
> 
> I tried 'gforth myprogram.fs -e bye' but the program doesn't exit after
> execution, it stays in interactive mode.
> 
> 'gforth myprogram.fs -e blablabla' gives no error either. The program
> does its job and then stays in interactive mode.
> 
> This program of mine includes several layers of libraries and involves
> file manipulation and custom parsing. I thought this may have something
> to do.  In fact the "-e bye" option works fine with simpler programs
> that use no libraries, but I have not investigated deeper yet.
> 
> I want the program to quit in order to benchmark it from the system
> under certain conditions:
> 
>       time gforth myprogram.fs -e bye
> 
> Any clue why "-e bye" fails?

You are in custom parsing mode?

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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