[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
##############################################################################
###+----------+###############################################################
#+-| SET BELL |---------------------------------------------+#################
#| +----------+ The SET BELL command controls the bell flag |#################
#+----------------------------------------------------------+#################
##############################################################################
##############################################################################
#+--| Syntax |------------------+#############################################
#| SET BELL <ON || OFF> |#############################################
#+------------------------------+#############################################
##############################################################################
##############################################################################
########+---| Description |-----------------------------------------+#########
########| The speaker is turned ON when the end of a READ/GET field |#########
########| is reached. The default status of SET BELL is OFF. |#########
########+-----------------------------------------------------------+#########
##############################################################################
##############################################################################
#########+--| Example 1 |-------------------------------------------+#########
#########| |#########
#########| @ row()+1,10 GET d->name |#########
#########| |#########
#########| SET BELL ON && Bell will ring. |#########
#########| @ row()+1,10 GET d->address |#########
#########| |#########
#########| READ |#########
#########+----------------------------------------------------------+#########
##############################################################################
##############################################################################
#########+--| Example 2 |-------------------------------------------+#########
#########| * The SET BELL command works at the time of |#########
#########| * GET, not the READ. |#########
#########| |#########
#########| SET BELL ON |#########
#########| @ 3,3 GET value && bell rings at end |#########
#########| && of field. |#########
#########| SET BELL OFF |#########
#########| @ 4,3 GET next_value && bell does not ring |#########
#########| && for this field |#########
#########| READ |#########
#########+----------------------------------------------------------+#########
##############################################################################
See Also:
GET
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson