FHannes Posted November 25, 2011 Share Posted November 25, 2011 (edited) SCAR Divi 3.30 Alpha is now available. At the moment only a few bugfixes, new stuff will be added soon. Regular: http://svn.scar-divi.com/scar/ Portable: http://svn.scar-divi.com/scar_portable/ Changelog: Bugfixes: - Small bug in the preprocessor - Bug when saving a file to a location that is no longer accessible Additions: - New menu to add tabs or close all tabs next to existing tabs in script editor - $HINT, $WARN(ING) and $ERROR directives Enjoy ~Freddy Edited November 26, 2011 by Freddy Quote Link to comment Share on other sites More sharing options...
Wanted Posted November 26, 2011 Share Posted November 26, 2011 Nice I will check this out soon Quote Link to comment Share on other sites More sharing options...
KingKong Posted November 26, 2011 Share Posted November 26, 2011 Any news about the CallProc bug? Quote Link to comment Share on other sites More sharing options...
FHannes Posted November 26, 2011 Author Share Posted November 26, 2011 Any news about the CallProc bug? If there's a bug in CallProc, I'm afraid it's in the engine, my implementation of it is solid. Quote Link to comment Share on other sites More sharing options...
FHannes Posted November 26, 2011 Author Share Posted November 26, 2011 I just finished up the first item on the roadmap, I've added the compiler directives $ERROR, $WARN(ING) and $HINT. These can be used to trigger errors, hints or warnings before the compiler itself if even started, when the preprocessor is plowing through the script and includes, so these are also directly affected by IFDEFS and such. Here's an example: {$IFNDEF SCAR330_UP} {$ERROR This script will only run on SCAR Divi 3.30 and newer!} {$ENDIF} {$HINT This line is useless, you can remove it!} {$WARN This line is useless, you SHOULD remove it!} begin end. The error line above will only be useful in some way in SCAR 3.29+ before all previous 3.25+ versions would just ignore it and 3.29 just throws an "unknown directive"ish error, but that will allow you to go to the line and see what caused it, so you can read the message there. 3.30 and above will display the error message in the messages tab and the same thing for warnings and hints with the exception that only errors will stop the script from compiling any further. Note that there's no different between hints and warnings other than the same, however, to express the seriousness of the message you can pick between them. Quote Link to comment Share on other sites More sharing options...