I'm getting a Type Mismatch error and I don't even know what that means.
Code:program ArchlordAutoHunterv1; var SystemTime, H, M, S, perk, perkpost, buff1, buff1post, buff2, buff2post, monsters : integer; procedure SystemInformation; begin SystemTime := GetSystemTime; SystemTime := ConvertTime(SystemTime, H, M, S); writeln('////////////////////////////////////////////////////////////////'); writeln('-System Information'); writeln('The macro begins at ' + IntToStr(H) + ':' + IntToStr(M) + '.'); writeln('////////////////////////////////////////////////////////////////'); end; procedure DefineColors; begin ................. ............ ...... ... .Also, while I'm here (and it's the least of my troubles, I was just wondering), is there any way to tell if it's AM or PM when getting the system time?Failed when compiling
Line 8: [Error] (8:47): Type mismatch in script C:\Program Files\SCAR 3.15\Scripts\ArchlordAutoHunter_v1.scar
But I really just want to figure the type mismatch thing out first
Edit: Just so you don't have to count all the way over. When it takes me to the error spot here is where I end up-
Between the 'M' and ','Code:SystemTime := ConvertTime(SystemTime, H, M, S);



Reply With Quote



