SRL Archive - Development

I'm confused


Function

2010-02-05 19:01:54

What does the identifier "asm" do?


procedure ASM;
begin
writeln('i''m confused');
end;

Why isn't 'begin" syntax highlighted?
Why is 'ASM' highlighted? What does it do?

mastaraymond

2010-02-05 20:07:52

From: Function
What does the identifier "asm" do?


procedure ASM;
begin
writeln('i''m confused');
end;

Why isn't 'begin" syntax highlighted?
Why is 'ASM' highlighted? What does it do?

ASM does nothing, it's just highlighted by default (we are using official Pascal highlighting).

In "real" pascal code, it would trigger an Assembly mode, where you can code in ASM (google it ;) ).

Function

2010-02-05 20:21:55

From: mastaraymond
ASM does nothing, it's just highlighted by default (we are using official Pascal highlighting).

In "real" pascal code, it would trigger an Assembly mode, where you can code in ASM (google it ;) ).


Oh ok, lol I was making a different function which started with "asm" and it bolded so I just thought I'd ask. Thanks :)

MylesMadness

2010-02-05 21:25:55

Scar does it aswell