Sealeopard
(KiX Master)
2004-03-14 08:39 PM
INFO: Moderator's message to new forum users. MUST READ

Welcome to the KiXtart.org bulletin board. In order to make your experience here more productive and enjoyable, you should understand how the board works. These links will familiarize you with the etiquette and workings of the board.



MAKE SURE you are using the latest release version of KiXtart before posting that either your script or a script you copied from the board is not working.


You are in the Scripts forum.

This forum is targeted towards advanced scripting. Examples of scripts can be posted/discussed here; however we ask that the post contains a script or script fragment! If a post does not contain a script or script fragment, then the post/thread will be moved into a more appropriate form, normally the Starters or General Discussions forum.

This is not a place to ask for ready-made scripts! this is a place to post your own scripts and ask for help debugging or optimizing them or discuss certain algorithms and programming solutions.

When you want to start a new thread, click the "Post" button while in the appropriate forum. Since this is a threaded forum, be sure to click the "Reply" link on the post to which you want to reply. Your reply will be linked to the message on which you clicked reply. Posting your reply to the wrong message will cause confusion when reading the posts since the posts will be skewed.

When posting code, use the "Instant UBB Code" buttons below the edit window. Clicking the CODE button will place [ CODE] [ /CODE] tags in the edit window. Paste your formatted code between the tags to preserve its formatting.

Also the forum moderators may alter your post. What can happen:

  • your subject descriptions may be altered by one of the moderators (to get a faster response from others).
  • cross-posted topics will be redirected and closed.
  • some post layout issues such as very long lines in CODE sections may be corrected.


Don't be afraid to give details. A post with a detailed and exact question that includes supporting information and code will let the moderators or other members more quickly resolve your issue. Also, when your problem is resolved, please post the resolution so that other members can use your solution if they encounter the same or a similar problem. Thanks.

Also, before you post, please review this link: KiXtart Starter's Guide . It should answer most of the basic questions you may have about how to use KiXtart.

Before posting scripts or script fragments we ask that you perform basic debugging yourself. This includes running a script with
Code:
Debug on

In order to step through the problematic code and see variable contents during script execution. The DEBUG ON mode is explained in the KiXtart Manual.
It is also recommended to use the following script header
Code:
DIM $rc
$rc=SETOPTION('explicit','on')
$rc=SETOPTION('novarsinstrings','on')

As it will allow you to write cleaner code and detect misspelled variable names.

You should also put error checks into appropriate places within your code. This can be as simple as adding the line
Code:
? 'Error '+@ERROR+' - '+@SERROR
 
Or if you're debugging calls to COM objects you can use
? 'Error '+Val("&"+Right(DecToHex(@ERROR),4))

After a line of code where you suspect an error is raised. This will result in console output denoting the error number and message.

Finally, as fellow scripters we do expect that you have read the KiXtart Manual (at least the introductory chapter and the syntax for the KiXtart commands/functions/macros you are using in your code) and frequent the FAQ Forum to read up on commonly asked questions/answers/solutions.


.


NTDOCAdministrator
(KiX Master)
2006-12-21 01:28 AM
Re: INFO: Moderator's message to new forum users. MUST READ

Here is some information for those that need it on how to post and edit their posts.



.