If I create an application which include this file but use only 3 functions, will the resulting exe include 30 functions or only 3 functions

Code: Select all
procedure Included()
endprocedure
procedure NotIncluded()
Included()
endprocedure
procedure Included2()
endprocedure
Included2()
My apology Trond.Trond wrote:Why don't you just have a look at the generated assembly code to confirm that what I said is correct?
Code: Select all
; This one DOES call the procedure.
Procedure zzz(file$)
DeleteFile_(file$)
EndProcedure
Sleep_(1)
zzz("c:\nosuchfile")
Code: Select all
; This one DOESN'T call the procedure,
; but the exe still has DeleteFileA!
Procedure zzz(file$)
DeleteFile_(file$)
EndProcedure
Sleep_(1)