<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi,</DIV>
<DIV>It seems to me that procedure load now handles zo files differently from
earlier versions. See example below. Is this intentional? If I am not mistaken,
the example used to work properly before.</DIV>
<DIV>Greetings, Jos Koot</DIV>
<DIV> </DIV>
<DIV>DrScheme, version 369.3-svn7jan2007, language mzscheme, no debugging.</DIV>
<DIV> </DIV>
<DIV>(require (lib "compile.ss"))<BR>(current-directory
"c:/scheme/load-example")<BR>(define scm-name "example.scm")<BR>(define zo-name
"compiled/example.zo")<BR>(if (file-exists? scm-name) (delete-file
scm-name))<BR>(with-output-to-file scm-name (lambda () (write '(lambda (x)
x))))<BR>(compile-file scm-name)<BR>(define a (load zo-name))<BR>a ; -->
#~369.3c?" ?? ; expected #<procedure><BR>(a 1) ; --> error
procedure application: expected procedure, given: #~369.3c?" ??;
arguments were: 1; expected 1</DIV>
<DIV> </DIV>
<DIV>Replacing the line (define a (load zo-name)) by (define a
(load/use-compiled scm-name)) produces the same results. </DIV></BODY></HTML>