- Install Free Pascal
- Install Sublime Text 3
- Add Package control for Sublime Text
- Install Pascal shippets:
Ctrl+Shift+P-> typeinstall-> typePascal - Copy
fpcbuild.batto C:\\FPC\<version_number>\bin\i386-win32\ - Create new build system: click menu
Tools->Build system->New Build Systemand paste there code fromPASCAL.sublime-build - Select this build system as default
- Create new
.pasfile 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.