Skip to content

Instantly share code, notes, and snippets.

@ahoNerd
Last active November 11, 2022 09:41
Show Gist options
  • Save ahoNerd/6f9eecebe3c1e91fd33ea81491c8883f to your computer and use it in GitHub Desktop.
Save ahoNerd/6f9eecebe3c1e91fd33ea81491c8883f to your computer and use it in GitHub Desktop.
Run and Compile Pascal with Sublime Text, read more at https://ahonerd.com/run-and-compile-pascal-with-sublime-text
{
"shell": true,
"cmd": ["fpc", "${file_path}/${file_base_name}", "&&", "start", "cmd", "/c", "$file_base_name.exe", "&", "pause"],
"selector": "source.pascal",
"variants": [
{
"cmd": ["start", "cmd", "/c", "$file_base_name.exe & pause"],
"name": "Run",
"shell": true
},
{
"cmd": ["fpc", "${file_path}/${file_base_name}"],
"name": "Compile",
"shell": true
}
]
}
program coba;
begin
writeln('Konnichiwa!');
readln();
end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment