|
|
back to boardInteresting Question maybe it will be more interesting for me but....
...anyway, can't function be array, record, set in Pascal?
thanks. Edited by author 21.12.2007 13:28 Re: Interesting Question Posted by LiuKe 9 Apr 2008 18:26 Of course Re: Interesting Question Posted by LiuKe 20 Nov 2008 21:01 But... You Can define A type for example: type rec=record x,y:Longint; end; function f(a:rec):rec; begin end. Is Right Re: Interesting Question Posted by LiuKe 20 Nov 2008 21:02 Really Interesting! Posted by LiuKe April 09, 2008 18:26 Posted by LiuKe November 20, 2008 21:01 Re: Interesting Question You can't make function with such returning value as record or array in complier version Turbo Pascal 7.0. But Delphi allows us do such things. Compiler of this site (Free Pascal) allows us too. |
|
|