ScriptBasic
February 09, 2012, 07:54:57 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: The ScriptBasic User, Developer and extension module guides are available at the
WIKI
.
Home
Wiki
Help
Search
Login
Register
ScriptBasic
>
Support
>
General Discussions
>
Check ScriptBasic Code
Pages: [
1
]
« previous
next »
Print
Author
Topic: Check ScriptBasic Code (Read 1351 times)
Michael
Newbie
Posts: 5
Check ScriptBasic Code
«
on:
April 25, 2008, 09:32:42 AM »
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
Logged
support
Administrator
Posts: 369
Check ScriptBasic Code
«
Reply #1 on:
April 25, 2008, 11:11:56 AM »
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
Logged
Verhas
ScriptBasic Developer
Posts: 15
Re: Check ScriptBasic Code
«
Reply #2 on:
September 11, 2008, 01:37:24 AM »
From this point of view ScriptBasic is very simple. It does not have anything like "use strict" in Perl nor has a 'lint'.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Open Forum
-----------------------------
=> Round Table
=> What's New
-----------------------------
ScriptBasic
-----------------------------
=> Download
=> Tutorials
=> Wish List
-----------------------------
Support
-----------------------------
=> General Discussions
=> Installation
=> ScriptBasic Examples w/source
=> Debugger
=> Source
=> Documentation
-----------------------------
Extension Modules
-----------------------------
=> Extension Modules
===> Curl
===> mxml
===> IUP
===> CGI
===> MySQL
===> ODBC
===> Berkeley DB
===> PSQL
===> GSL
===> Rlib
===> GTK-Server
===> CIO
===> NT
===> DYC
===> ZLIB
===> RE
===> HASH
===> GD
===> MT
===> T
===> DBG
Loading...