Difference between revisions of "Talk:Recursive filesearch"
Jump to navigation
Jump to search
(? Operator has a 1:1 replacement in Pascal) |
(No difference)
|
Revision as of 11:08, 17 August 2014
Hint "?" Operator does not exist but there is a replacement:
if (ap^.ap_Info.fib_DirEntryType < 0) then
begin
s := '';
end else
s := 'Dir';
one could write: if for strings need Unit StrUtils, for number need unit Math
s := IfThen(ap^.ap_Info.fib_DirEntryType < 0, '', 'Dir')
Freepascal aros porter (talk) 11:08, 17 August 2014 (CEST)