Sir R. M8gic1an
2010-07-24 05:16:10
var
MSIVersion: integer;
Procedure MSI_GetVersion;
var
s: string;
begin
s := GetPage('http://villavu.com/repositories/msi/');
MSIVersion := StrToInt( Between('rev="', '"', s) );
end;
begin
MSI_GetVersion;
writeln(MSIVersion);
end.
I'll be adding this in it's due place in a second. ATM MSI doesn't compile, but at least this will already be there.
edit: actually, this doesn't make sense. I'm just grabbing the online version. I wanted it to print which revision the user is using >.>
~RM