Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #132094

Re: Using include-file

Date 2024-09-04 21:13 +1000
Subject Re: Using include-file
Newsgroups comp.lang.forth
References <vb565d$2vcqf$1@dont-email.me>
From dxf <dxforth@gmail.com>
Message-ID <66d840c3$1@news.ausics.net> (permalink)
Organization Ausics - https://newsgroups.ausics.net

Show all headers | View raw


On 3/09/2024 6:11 am, Ruvim wrote:
> Do you know practical cases of using "include-file" in programs?
> 
> I can't imagine how this word could be used in standard programs.
> ...

Here's a question.  Is there a temporal dependency on the 'fileid' passed
to INCLUDE-FILE ?

On my system 'fileid' for INCLUDE-FILE would need to represent the most
recently opened file.  Otherwise should a compilation error occur the wrong
statistics e.g. file-name will be printed.

AFAICS ANS only guarantees the contents of a file represented by 'fileid'.
The issue of filenames - if/when/how they're stored - is a detail left to the
implementer.  It's no problem for INCLUDED which binds opening of the file
with compilation.  However INCLUDE-FILE potentially separates these two.

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Using include-file Ruvim <ruvim.pinka@gmail.com> - 2024-09-03 00:11 +0400
  Re: Using include-file mhx@iae.nl (mhx) - 2024-09-02 21:22 +0000
    Re: Using include-file mhx@iae.nl (mhx) - 2024-09-03 05:38 +0000
      Re: Using include-file rt4all@hetnet.nl (rt) - 2024-11-09 08:29 +0000
        Re: Using include-file mhx@iae.nl (mhx) - 2024-11-09 12:06 +0000
          Re: Using include-file Stephen Pelc <stephen@vfxforth.com> - 2024-11-09 18:13 +0000
            Re: Using include-file dxf <dxforth@gmail.com> - 2024-11-10 13:54 +1100
          Re: Using include-file rt4all@hetnet.nl (rt) - 2024-11-10 13:47 +0000
  Re: Using include-file anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2024-09-03 06:50 +0000
    Re: Using include-file albert@spenarnc.xs4all.nl - 2024-09-03 10:23 +0200
      Re: Using include-file mhx@iae.nl (mhx) - 2024-09-03 11:54 +0000
        Re: Using include-file sjack@dontemail.me (sjack) - 2024-09-03 15:28 +0000
          Re: Using include-file dxf <dxforth@gmail.com> - 2024-09-04 11:36 +1000
      Re: Using include-file dxf <dxforth@gmail.com> - 2024-09-04 16:44 +1000
    Re: Using include-file Ruvim <ruvim.pinka@gmail.com> - 2024-09-03 23:07 +0400
      Re: Using include-file Ruvim <ruvim.pinka@gmail.com> - 2024-10-23 22:43 +0400
        Re: Using include-file anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2024-10-24 06:32 +0000
          Re: Using include-file albert@spenarnc.xs4all.nl - 2024-10-24 11:30 +0200
          Re: Using include-file Ruvim <ruvim.pinka@gmail.com> - 2024-10-26 09:19 +0400
  Re: Using include-file Gerry Jackson <do-not-use@swldwa.uk> - 2024-09-04 10:54 +0100
    Re: Using include-file Gerry Jackson <do-not-use@swldwa.uk> - 2024-09-04 11:09 +0100
  Re: Using include-file dxf <dxforth@gmail.com> - 2024-09-04 21:13 +1000
    Re: Using include-file Ruvim <ruvim.pinka@gmail.com> - 2024-09-17 18:33 +0400
  Re: Using include-file minforth@gmx.net (minforth) - 2024-10-24 12:44 +0000
    Re: Using include-file Ruvim <ruvim.pinka@gmail.com> - 2024-10-27 21:31 +0400
      Re: Using include-file minforth@gmx.net (minforth) - 2024-10-27 22:32 +0000

csiph-web