tlaMDE - Operation
API Macro Development Environment

CodeWright® - Dynamic Link Library - Purchase - 2005.01.01 17:15
Send Comments

Operation Table of Contents

tlaMDE operates on one or more API macros in the current buffer.

tlaMDE has six sub-functions: compile, delete, execute, fetch, help, and save. Three of them (delete, execute, and fetch) allow you to provide additional information by responding to a message prompt.

Compile

Delete

Delete with Prompt

Execute

Execute with Prompt

Fetch

Fetch with Prompt

Help

Save

Input Parameters

Parm A Parm B Meaning
"c"   Save and compile macro(s) in current buffer to/from appropriate macro repository.
"compile"
"d"   Delete macro(s) in current buffer from appropriate macro repository.
"delete"
"d" "prompt" Delete macro from appropriate macro repository. Prompt for macro name to delete.
"delete"
"e"   Save, compile, and execute macro(s) in current buffer to/from appropriate macro repository. Execute first macro in buffer without prompting.
"execute"
"e" "prompt" Save, compile, and execute macro(s) in current buffer to/from appropriate macro repository. Prompt after compile for macro name to execute and optional parameters to pass to it.
"execute"
"f"   Fetch macro(s) from appropriate macro repository. Select macros from a request list of headers starting at line one fo current buffer. Append selected macros to the end of the current buffer in the same order as the request list.
"fetch"
"f" "prompt" Fetch macro from appropriate macro repository. Prompt for macro name to fetch. Insert macro at current cursor location of current buffer.
"fetch"
"h"   List the most current version of this page documenting the operation of tlaMDE.
"help"
"s"   Save macro(s) in current buffer to appropriate macro repository.
"save"

Example Function Calls

tlaMDE( "save" )               or   tlaMDE s
tlaMDE( "compile" )            or   tlaMDE c
tlaMDE( "execute" )            or   tlaMDE e
tlaMDE( "execute, "prompt" )   or   tlaMDE e prompt
tlaMDE( "delete" )             or   tlaMDE d
tlaMDE( "delete", "prompt" )   or   tlaMDE d prompt
tlaMDE( "fetch" )              or   tlaMDE f
tlaMDE( "fetch", "prompt" )    or   tlaMDE f prompt
tlaMDE( "help", "prompt" )     or   tlaMDE h

Menu

Our CodeWright machines are configured with a modification to the edit dropdown menu. If you install our menu modification and click the right mouse button you will get one of two displays.

  • Left display if the extension of the current file is .cwa or .mac.
  • Right display if the extension of the current file is not .cwa or .mac.
  • Neither if there is no current file.

You can install these menu changes by running tlaInstallMenu.

Purchase

The tlaMDE DLL, that operates in both CodeWright and CodeWright for .NET, can be purchased by selecting the Buy button on this page. When the new window opens, follow the ordering instructions.

Copyright © 1993-2005 Thom Little Associates, Ltd. All Rights Reserved. (revised 2005.01.01 17:15)
One Central Square, Keene, NH 03431-3787   voice-603-357-7567   fax-603-719-1432