startup filenames?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

startup filenames?

timrowledge
A long time ago, I recall we used to have some code in the early start up sequence that read the names of any files passed in with the start up command (was it something like #readStartupDocuments?). I can’t find anything that looks like that in the current 4.4-ish image. What am I failing to see?

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful Latin Phrases:- Die dulci fruere = Have a nice day



Reply | Threaded
Open this post in threaded view
|

Re: startup filenames?

Frank Shearar-3
On 4 December 2013 21:18, tim Rowledge <[hidden email]> wrote:
> A long time ago, I recall we used to have some code in the early start up sequence that read the names of any files passed in with the start up command (was it something like #readStartupDocuments?). I can’t find anything that looks like that in the current 4.4-ish image. What am I failing to see?

Are you thinking of the CodeLoader, that loads/executes the code in a
file whose name you give? Er. So you say "squeak MyImage.image
the/path/to/something.st" and that file's executed. That uses
CodeLoader >> #installSourceFile:.

frank

> tim
> --
> tim Rowledge; [hidden email]; http://www.rowledge.org/tim
> Useful Latin Phrases:- Die dulci fruere = Have a nice day

Reply | Threaded
Open this post in threaded view
|

Re: startup filenames?

timrowledge

On 04-12-2013, at 2:05 PM, Frank Shearar <[hidden email]> wrote:

> On 4 December 2013 21:18, tim Rowledge <[hidden email]> wrote:
>> A long time ago, I recall we used to have some code in the early start up sequence that read the names of any files passed in with the start up command (was it something like #readStartupDocuments?). I can’t find anything that looks like that in the current 4.4-ish image. What am I failing to see?
>
> Are you thinking of the CodeLoader, that loads/executes the code in a
> file whose name you give? Er. So you say "squeak MyImage.image
> the/path/to/something.st" and that file's executed. That uses
> CodeLoader >> #installSourceFile:.

Yes and no; no, I wasn’t thinking of that since I’d never heard of it, but yes, it looks like it would serve my needs. Thanks!

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
.signature not found!  reformat hard drive? [Yn]