Re: Call to c_func() short-circuited

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi

Easier to read using the

<eucode> 
-- eucode 
</eucode> 
 

construct so

function Read_File(atom hfile, atom lpBuffer, atom nNumberOfBytesToRead)  
 
return c_func(Read_File_id, {lpBuffer, nNumberOfBytesToRead, lpNumberOfBytesRead,0} )  
 
end function  

would look like that

so, you're calling a c_func - have you defined it somewhere, would be useful to see that. Also what's the purpose of the function (if it's just to read a file, might read_file() here be appropriate?

an explanation of euphorias definition of short circuiting is here - which I don't really understand how it applies here either!

The more information you give, the more useful solutions you''ll get back

Cheers

Chris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu