tlaMessage
Issue Standard Error, Message Box, and Normal Messages

Visual SlickEdit® - Slick-C Macro - Royalty Free - 2005.01.01 17:15
Send Comments

Purpose

Issue Standard Error, Message Box, and Normal Messages.

Operation

This package provides three functions for issuing messages.

  • tlaError - issue error message and set return code to -1.

  • tlaMessageBox - issue message box with default parameters.

  • tlaNormal - issue normal message and set return code to 0. line and report number of columns skipped.

Example

Command Line - include date/time in a message ...

tlaError( "Name", "Error encountered - abterm" )
tlaMessageBox( "Name", "Point D reached" )
tlaNormal( "Name", "Normal completion" )

Input Parameters

ParmA ParmB Usage
"function" "message" function: message.
"message" NULL message

Return Codes

Value Function
-1 tlaError
IDOK
IDCANCEL
tlaMessageBox
0 tlaNormal

Reference

None.

Compatibility

Current version verified under:

  • Visual SlickEdit 8.0

Installation

Perform the following steps:

  • Select the Code button on this page.
  • When the second window opens, select all the text in the text box.
  • Issue Ctl-C (copy).
  • Create a file in Visual SlickEdit with type Slick-C and extension ".e".
  • Issue Ctl-V (paste).
  • Issue Ctl-S (save).
  • Select PFK-12 to compile the macros.

Purchase

tlaSlick is a Visual Slick-C module that contains all of the Slick-C macros on this website in a single easy to install package. The tlaSlick module can be purchased by selecting the Buy button on this page.

tlaMessage is included as a function in tlaSlick.

Copyright © 1993-2005 Thom Little Associates, Ltd. revised 2005.01.01 17:15
One Central Square, Keene, NH 03431-3787 phone 603-357-7567
2005.01.01 17:15