LextEdit

  • Increase font size
  • Default font size
  • Decrease font size
Home LextEdit Features Format Section for C

Format Section for C

E-mail Print PDF

LextEdit provides a simple but useful tool to quickly take MSQL code and convert it in to a section of usable C Code.  In the file menu under "Edit" there is the option "Format Selection for C (MSQL Only)".  This will convert a selected section of MSQL Code in to a string, replacing the variables with '%s', and adding the variable names comma separated at the end so the entire section can be used in C for a sprintf statement.  This can save considerable time when trying to write large C based commands and significatly reduce the number of mistakes when creating the C code.

 

Example:

MSQL Code:

Converted:

Last Updated on Monday, 23 March 2009 23:42  

Newsflash

LextEdit makes it easy to support your business needs, allowing you to get at the information you need in minutes. Whether you want quick, easy access to Trace information or robust development tools, LextEdit has the added functionality when you need it.