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


Groups > comp.soft-sys.math.mathematica > #4767

Preprocessing file input

From Wolfgang Windsteiger <Wolfgang.Windsteiger@risc.jku.at>
Newsgroups comp.soft-sys.math.mathematica
Subject Preprocessing file input
Date 2011-09-06 07:55 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j44jkp$8s3$1@smc.vnet.net> (permalink)

Show all headers | View raw


Hi everyone,

is there some hook for preprocessing expressions when they are read from 
a file. I'm looking for an analogon to $Pre, which applies to each 
expression read from a file. E.g. I have file.m containing

expr1
expr2
expr3

and when I do

<<file.m

what I would like to happen is

$PreFile[expr1]
$PreFile[expr1]
$PreFile[expr1]

Is there something like $PreFile???

Thanks for any suggestion,
WW.

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Preprocessing file input Wolfgang Windsteiger <Wolfgang.Windsteiger@risc.jku.at> - 2011-09-06 07:55 +0000
  Re: Preprocessing file input David Bailey <dave@removedbailey.co.uk> - 2011-09-07 09:45 +0000
  Re: Preprocessing file input Vince Virgilio <blueschi@gmail.com> - 2011-09-07 09:39 +0000

csiph-web