- Install Free Pascal
- Install Sublime Text 3
- Add Package control for Sublime Text
- Install Pascal shippets:
Ctrl+Shift+P
-> typeinstall
-> typePascal
- Copy
fpcbuild.bat
to C:\\FPC\<version_number>\bin\i386-win32\ - Create new build system: click menu
Tools
->Build system
->New Build System
and paste there code fromPASCAL.sublime-build
- Select this build system as default
- Create new
.pas
file with code below and try new buildCtrl+B
program ProgramName;
procedure Main();
begin
writeln('Hello world!');
readln;
end;
begin
Main();
end.
Enjoy!
Great work, only a little mistake. You have to rename the fcpbuild.bat to fpcbuild.bat.