Forum > General
Identifier not found "fileexpand"
(1/1)
lazer:
Hi,
I'm porting some old TPW code to FPC.
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---function direxpand(dir:varstring):varstring;begin direxpand:=strpas(fileexpand(strbuf,strpcopy(strbuf,dir)));end;
--- Quote ---(661,21) Error: Identifier not found "fileexpand"
--- End quote ---
bytebites:
Maybe
https://www.freepascal.org/docs-html/rtl/sysutils/expandfilename.html
Navigation
[0] Message Index