Sorry for being such a stupid person but can you guys teach me how to run Pascal code in Atom? it's for college, i really need help.
>>61755046
Install Gentoo.
Isn't pascal just a text editor?
Text editors can't run code.
>>61755115
I mean, atom.
>>61755046
Is it pascal or Delphi?
If pascal, try turbo pascal or pascalzim
If Delphi, try Lazarus or Borland's IDE
>>61755127
you can install packages like the "atom runner", "script" etc to run code but i can't get it to work it Pascal because neither of these two come with Pascal support by default.
>>61755147
Well, then you'll have to do it outside atom.
When I did pascal for school I used pascalzim as well.
Use tabs instead of spaces
1 tab = 8 spaces
>>61755541
i didn't write this
>>61755577
Here's a fixed version anywayprocedure TForm1.Button1Click(Sender: TObject);
var
oSample: TSample;
i: byte;
begin
oSample: TSample.Create;
try
oSample.DoSomething;
oSample.DoAnotherThing;
oSample.IntValue := 10;
oSample.StrValue := 'Just a string value';
for i := 0 to oSample.Size-1 do
begin
if oSample.HasSomething then
break;
end
finally
oSample.Free;
end;
end;
>>61755582
thanks...
>>61755603
Are you from India? Why do Indians end sentences with the trailing periods? Just curious.
>>61755660
brazil ._.