Re: Call to c_func() short-circuited
- Posted by ChrisB (moderator) Dec 17, 2018
- 1442 views
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