home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 10
/
aminetcdnumber101996.iso
/
Aminet
/
biz
/
dbase
/
AmigaBase22.lha
/
AmigaBase
/
BUGS
< prev
next >
Wrap
Text File
|
1995-10-03
|
1KB
|
36 lines
Known Bugs:
===========
AmigaBase functions like BOLD OFF, ITALIC OFF, etc. don't work with the
"CON:" device under OS 1.3 because "CON:" only recognizes the NORMAL
escape sequence.
If you enter a value of 3 for the memo height you will get a real height
of 4 lines. This is because (3*(fh+2+2) - 2 - 2) / fh is 4
(fh is the font height, e.g. 8).
When programming recursive functions you can't call a recursive function
in a sub expression, otherwise you will get wrong results, e.g. if you have
a function called _Fib which takes one integer argument and returns an integer
value, the following code will return wrong results:
BEGIN
IF arg1 < 2 THEN
RETURN 1;
ELSE
RETURN (_Fib(arg1 - 1) + _Fib(arg1 - 2)); # _Fib in a sub expression
END
END
However the following code works:
VAR i, j: INTEGER;
BEGIN
IF arg1 < 2 THEN
RETURN 1;
ELSE
i := _Fib(arg1 - 1); # _Fib not in a sub expression
j := _Fib(arg1 - 2); # _Fib not in a sub expression
RETURN (i + j);
END
END
Thanks to Petra Mössner for showing how complex this problem is.