Topic: Using Uses

Hi All,


I'm trying to use uses for splitting the script into multiple .pas files but getting an error.
Please see the sample project attached.

Post's attachments

Attachment icon Tester5.zip 12.56 kb, 62 downloads since 2023-05-29 

Adam
God... please help me become the person my dog thinks I am.

Re: Using Uses

Put a comma at the end of 'tester1.pas'

Post's attachments

Attachment icon 1.jpg 4.42 kb, 21 downloads since 2023-05-29 

Destiny

Re: Using Uses

Hi Destiny,


Thank you very much for your quick reply........
Truly appreciated........


Comma details totally missed by me. So, prior to last .pas all upper .pas files needs comma

uses
'tester1.pas',
'tester2.pas',
'tester3.pas',
'tester4.pas',
'tester5.pas';

begin
end.
Adam
God... please help me become the person my dog thinks I am.