Tuesday, August 22, 2017

Tip of the Day: Enhanced ECHO to Optionally Suppress Feedback
Product.......: R:BASE X and R:BASE X Enterprise (Version 10)
Build.........: 10.0.2.20731 or higher
Section.......: Commands
Keywords......: ECHO, Settings, FEEDBACK

Did you know the ECHO operating condition can optionally suppress commands during processing,
to improve the readability of an echoed output stream?

The ECHO settings displays or suppresses commands as they are processed. Specify ON to display
commands; specify OFF to turn off the command display.

Use SET ECHO as a debugging technique as you develop a command file. With ECHO set on, you can see the commands as they are processed when you run a command file. SET ECHO works only when
the command file is a non-binary procedure file.

Enter SET ECHO ON at the beginning of the program. Then, when the program runs, R:BASE displays each command as it is interpreted and, if needed, runs it. Set ECHO off to suppress command display. You can also direct the output to a printer or a file before you set ECHO to on. Then, when the command file runs, the commands and any errors are saved either in printed form or in
a file you can look at.

Echoing output can optionally be suppressed if a command starts with the "@" character, to improve the readability of an echoed output stream, for example, the echoing of the SET ECHO OFF command. Do not put any spaces in front of this character to make the output appear correctly.

When R:BASE runs the commands below in a file, you see the WRITE command display along with the
message.

  CLS
  SET ECHO ON
  WRITE 'This is a message'
  SET ECHO OFF

To display the WRITE command along with the message, and without the SET ECHO OFF echo output,
use the following:

  CLS
  SET ECHO ON
  WRITE 'This is a message'
  @SET ECHO OFF

One of the most important aspects in business growth is your company's data, and no one else has more invested in your success than R:BASE Technologies. Invest forward with R:BASE!

Very Best R:egards,

Razzak.

www.rbase.com
www.facebook.com/rbase
--

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to