Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
 
For 2021 - online Python 3 training - see ((here)).

Our plans were to retire in summer 2020 and see the world, but Coronavirus has lead us into a lot of lockdown programming in Python 3 and PHP 7.
We can now offer tailored online training - small groups, real tutors - works really well for groups of 4 to 14 delegates. Anywhere in the world; course language English.

Please ask about private 'maintenance' training for Python 2, Tcl, Perl, PHP, Lua, etc.
The 8 most common errors ....

Posted by admin (Graham Ellis), 24 October 2002
"What's wrong with my program" - a very common cry from newcomers (and sometimes non-so-new-comers) to Tcl.  This is a list of the 8 most common problems that I come across - you might like to quielly check any code that isn't doing what you expect (or isn't compiling) against the list

1. Have you mis-spelt a variable name?

2. Have you mis-spelt a command name?

3. Have you used a $ when setting a variable, or left one off when using the contents of a variable?

4. Do your brackets balance?

5. Have you left spaces in the right places?

6. Have you added a new line in the middle of a command and forgotten the \ on the end of all lines except the last?

7. Do you need \ protection on anything?

8. Have you got () {} or [] mixed up?




This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2021: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho