First, I must apologise if this question is a little numb but it has been puzzling me for a while. It concerns code written for a project a while ago which I am now adapting for another purpose.
I have the following code which appears in an upload program I adapted from an original by Dave Summers.
If I understand correctly, the first part declares the function with variable names, the second part calls the function.
Am I right in thinking that the actual var names in the declaration are unimportant, the important thing being the name and type of var in the function itself.
Keith
I have the following code which appears in an upload program I adapted from an original by Dave Summers.
Code:
DECLARE INTEGER FtpPutFile IN wininet.DLL;
INTEGER hConnect,;
STRING lpszLocalFile,;
STRING lpszNewRemoteFile,;
INTEGER dwFlags,;
INTEGER dwContext
*--------------------------------------------
IF FtpPutFile(hftpSession, lcSource,;
lcTarget, lnXFerType, 0) = 1
ENDIF
Am I right in thinking that the actual var names in the declaration are unimportant, the important thing being the name and type of var in the function itself.
Keith