| 03-26-2002, 09:19 PM | #1 |
Yeah, my alpha version 0.1 is finished. The most interesting of this is that the 'checker' part is in an *easy* to use DLL, so you can link it with your own editer/whatever It contains a sample program, so you can use that without even knowing how to use DLL's Download it here How to use this DLL with VB: -Reference it Project->References->"Tha DLL that checks your code" -Declare it: Code:
Public Jass2Checker As New J2Checker -Use it: Code:
Errnumbers = Jass2Checker.CheckIt(cdlgOpen.FileName) cdlgOpen.FileName is a string wich points to a file to check Errnumbers is a long -Getting your errors Code:
Long= Jass2Checker.ErrorCount String= Jass2Checker.ErrorDesc(i) Long = Jass2Checker.ErrorLine(i) ErrorCount = number of errors ErrorDesc = Description of error i ErrorLine = Line of error i Note1: It doesn't check all of your errors yet (duh, otherwise it wouldn't be alpha) Note2: The sample program is _really_ simple, don't critisize me on it Note3: The DLL only works with files at the moment, that was my first concern, but I will make it accept multi and single-lined vbStrings very soon. Other vars on demand.. Note4: You will need you basic vb6 files for this to run, if you've downloaded one of the editors on this forum, chances are you have them allready. If not, just post a reply and I'll see what I can do for you Greetz, DJBnJack Ps. Don't hesitate to ask... |
| 08-09-2002, 10:05 AM | #2 |
Guest | Anybody plans to make syntax files (eg for VIM, Ultraedit ...) |
