EasyManuals Logo
Home>Honeywell>Voice Recorder>X Series

Honeywell X Series User Manual

Honeywell X Series
324 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #290 background imageLoading...
Page #290 background image
284 43-TV-25-30 Iss.6 GLO Aug 07 UK
Example 4
Commenting in Scripts
This is an example of how commenting can be used in scripts.
you can use the standard C++ commenting, inline comments use \\
for example
if ( A1 > 10 )
{
return 9; // If A1 greater then 10 return 9
}
or for block (single or multiline commenting the /* to open and */ to close, these are C style
comments and work as follows
if ( A1 > 10 )
{
return 9; /* If A1 greater then 10 return 9 */
}
for single line or
if( A1 > 10 )
{
/* if A1 is greater then 10 then return 9
*/
return 9;
}
these are also useful for commenting out code to try different things, for example
if( A1 > 10 )
{
return 9;
}
/*
else
{
return 20;
}
*/
return A1;
Here the else statement is "commented out" so it won't be included but can easily be re-in-
troduced if required.
Maths Error Messages
When the Maths functionality is processing through the scrips you have written it will carry
out Syntax and other checks. When it comes across operations, functions, brackets, etc.
not expected or permitted it will report an error. However, the fault being reported may be
on a previous line caused by the missing or incorrect function. Refer to Application Note
43-TV-07-32 on your CD or web site for a list of scripting error messages.

Table of Contents

Other manuals for Honeywell X Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Honeywell X Series and is the answer not in the manual?

Honeywell X Series Specifications

General IconGeneral
BrandHoneywell
ModelX Series
CategoryVoice Recorder
LanguageEnglish

Related product manuals