You can easily access the VBA online help system from CST Studio Suite by selecting Help > Help Contents from the main window. In addition to the Ribbon tab, the editor also features a context menu (opened by pressing the right mouse button) which contains more tools such as find, replace, etc. The development environment consists of a Ribbon tab and an editor window as shown below: You can open the VBA development environment by choosing Home: Macros > Macros > Open VBA Macro Editor. Each part of the program can be controlled by special VBA objects: A VBA Application Object can be used to control the program. The syntax of the BASIC interpreter is explained in the WinWrap Basic Language Reference.ĬST Studio Suite is implemented as an OLE automation server. We strongly recommend you work through this introduction, which should only take a few hours, to obtain a good working knowledge of macro programming in general. The explanations are supported by a variety of examples which should assist you in building your own macros.
The following sections start by providing general information on the VBA-based macro language before the actual integration into CST Studio Suite is discussed. Mathematical Functions, Operators and ConstantsĬoncepts of Macro Programming in CST Studio Suite Variables, Data Types and Type Conversions It can also be opened by selecting Home: Macros > Open VBA Macro Editor. The editor opens automatically if a macro is edited or created.
#MACRO PROGRAMMING LANGUAGE LIST WINDOWS#
Microsoft Office ®, MATLAB ®, AutoCAD ®, MathCAD ®, Windows Scripting Host, etc.). An interface to OLE automation enables a seamless integration into the Windows environment (e.g. The powerful VBA (Visual Basic for Applications) compatible macro language is equipped with a fully featured development environment including an editor and a debugger.
A powerful environment can be used for automating any task within its modules or even in combination with external programs. This language may be used either for creating own structure libraries or for the automation of common tasks. The language of the built in BASIC interpreter is almost 100% compatible with the Visual Basic for Application language. VBA Overview VBA Overview The CST Studio Suite tools can be controlled from a Visual Basic (VBA) script.