<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>M3File.m3<BR>
<BR>
PROCEDURE IsReadable (path: TEXT): BOOLEAN =<BR> (* We don't really check for readablitiy, just for existence *)<BR> BEGIN<BR> TRY<BR> EVAL FS.Status (path); line 82 <BR> RETURN TRUE;<BR> EXCEPT OSError.E =><BR> RETURN FALSE;<BR> END;<BR> END IsReadable;<BR>
<BR>
-----LINE 82 -----<BR> start_<FONT face="">call_direct</FONT> p.25 0 Struct<BR> load_address v.25 0<BR> pop_param Addr<BR> load v.26 0 Addr Addr<BR> pop_param Addr<BR> call_direct p.25 Struct<BR> pop Struct<BR><BR><BR><BR>I'm guessing you only see an import for the first call on purpose, but I will compare with PPC_DARWIN:<BR>
<BR>
-----LINE 46 -----<BR> import_procedure FS__Status 2 Struct 0 p.25<BR> declare_indirect 2078421550 -2078421551<BR> declare_param _return 4 4 Addr 2078421550 F F 50 v.62<BR> declare_param p 4 4 Addr 1358456180 F F 50 v.63<BR> start_call_direct p.25 0 Struct<BR> load_address v.13 0<BR> pop_param Addr<BR> load v.14 0 Addr Addr<BR> pop_param Addr<BR> call_direct p.25 Struct<BR> pop Struct<BR><BR>
<BR>
.globl _M3File__IsReadable<BR> .def _M3File__IsReadable; .scl 2; .type 32; .endef<BR>_M3File__IsReadable:<BR> .stabn 68,0,178,LM93-_M3File__IsReadable<BR>LM93:<BR> pushl %ebp<BR> movl %esp, %ebp<BR> pushl %edi<BR> pushl %esi<BR> pushl %ebx<BR> subl $300, %esp<BR>LBB15:<BR> .stabn 68,0,181,LM94-_M3File__IsReadable<BR>LM94:<BR>L157:<BR> movl -280(%ebp), %eax<BR> andl $0, %eax<BR> orl $_L_1, %eax<BR> movl %eax, -280(%ebp)<BR> movl -284(%ebp), %eax<BR> andl $0, %eax<BR> movl %eax, -284(%ebp)<BR> subl $12, %esp<BR> leal -288(%ebp), %eax<BR> pushl %eax<BR> call _RTHooks__PushEFrame<BR> addl $16, %esp<BR> leal -288(%ebp), %eax<BR> addl $48, %eax<BR> subl $12, %esp<BR> pushl %eax<BR> call __setjmp<BR> addl $16, %esp<BR> testb %al, %al<BR> jne L158<BR> .stabn 68,0,183,LM95-_M3File__IsReadable<BR>LM95:<BR> movl -288(%ebp), %eax<BR> subl $12, %esp<BR> pushl %eax<BR> call _RTHooks__PopEFrame<BR> addl $16, %esp<BR> movl $1, -304(%ebp)<BR> jmp L159<BR>L158:<BR> .stabn 68,0,185,LM96-_M3File__IsReadable<BR>LM96:<BR> movl $0, -304(%ebp)<BR>L159:<BR>LBE15:<BR> movl -304(%ebp), %eax<BR> leal -12(%ebp), %esp<BR> popl %ebx<BR> popl %esi<BR> popl %edi<BR> leave<BR> ret<BR><BR>
<BR>
M3File.IsReadable's call to FS.Status is omitted, all files are readable, even if they are not openable, therefore it "finds" cm3.cfg in the current directory and then fails to open it..<BR>
<BR>
later..<BR>
..Jay<BR><br /><hr />Climb to the top of the charts! Play the word scramble challenge with star power. <a href='http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan' target='_new'>Play now!</a></body>
</html>