Support > General Discussions

Check ScriptBasic Code

(1/1)

Michael:
Hello,

I am now re-compling and testing my project. When I used 'C' quite a while ago I used to check the code using a programme called 'lint'. This highlighted construct errors, variables declared and never used, etc. Is there an equivalent for ScriptBasic. On some of the inherited code I suspect there is a good percentage of unused variables but it is time consuming checking by hand.

Many thanks,

Michael  :D

Support:
Michael,

ScriptBasic has a ISEMPTY() function that gives you the state of a variable. I don't know of a DUMP like command that will show all assigned variables in the program.

John

verhas:
From this point of view ScriptBasic is very simple. It does not have anything like "use strict" in Perl nor has a 'lint'.

Navigation

[0] Message Index

Go to full version