Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

loading files under MIT scheme

0 views
Skip to first unread message

Daniel Manoharan

unread,
Dec 3, 2002, 6:08:29 AM12/3/02
to
hi... i am a newbie to scheme. well till now was working under Dr.Scheme. I
would like to know how to load files on MIT scheme under Windows... cuz
(load "filename.scm") doesnt seem to work. Or do I have to save the file to
a specific folder???
Thanx for ur help
daniel


Daniel Klein

unread,
Dec 3, 2002, 9:09:47 AM12/3/02
to

I too am new to Scheme ;-)

I believe you need to specify the full path to the file, for example:

(load "c:\\dir1\\dir2\\filename.scm")

[Note that you have to 'escape' the backslashes since they are meta-characters
on Windows, hence the double backslashes.]

Hope this helps,

Daniel Klein
Portland OR USA

Joe Marshall

unread,
Dec 3, 2002, 11:40:12 AM12/3/02
to
Daniel Klein <dan...@aracnet.com> writes:

> On Tue, 3 Dec 2002 12:08:29 +0100, "Daniel Manoharan"
> <daniel.m...@tu-clausthal.de> wrote:
>
> >hi... i am a newbie to scheme. well till now was working under Dr.Scheme. I
> >would like to know how to load files on MIT scheme under Windows... cuz
> >(load "filename.scm") doesnt seem to work. Or do I have to save the file to
> >a specific folder???
>
> I too am new to Scheme ;-)
>
> I believe you need to specify the full path to the file, for example:
>
> (load "c:\\dir1\\dir2\\filename.scm")
>

1 ]=> (pwd)

;Value 1: #[pathname 1 "c:\\"]

1 ]=> (cd (get-environment-variable "HOMEDRIVE")
(get-environment-variable "HOMEPATH"))

;Value 2: #[pathname 2 "c:\\documents and settings\\jrm\\"]

Daniel Manoharan

unread,
Dec 5, 2002, 4:06:44 PM12/5/02
to
thanks a lot for the help.. ;)

"Daniel Klein" <dan...@aracnet.com> schrieb im Newsbeitrag
news:ejepuu0519ub73m8c...@4ax.com...

0 new messages