On 14 July 2014 02:36, <[email protected]> wrote:
> teeemcee
> 2014-07-13 07:36:54 -0700 (Sun, 13 Jul 2014)
> 332
> I saw "Aborting due to illegal function call" at the OPEN in getdefaultpal,
> so convert it to a safe OPEN call
>
> Check OPEN success instead of using isfile. However there
> a zillions of uses of isfile, so this doesn't accomplish much.
> This happened while I pressing keys in inputtest.rpg, but I can't reproduce
> it.
> GNU/Linux, FB 0.90.1
> ---
> U wip/common.rbas
This abort is a reminder that
if isfile(x) then
open x for ...
...
end if
is not equivalent to
if open(x for ...) = 0 then
...
end if
However this is the first time I can remember seeing the isfile
succeed while the OPEN failed. No idea why. Would be interested to
hear of other cases and whether it might be a real problem.
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org