Script Language PRACTICE


The embedded tools company


Script Language PRACTICE
  Highlights
Structured Language
Menu Support
Command Logs
Custom Menues
Custom Toolbars and Buttons
Custom Dialog Windows
64-Bit Arithmetic
Numeric, Logical and String Operators
Direct Access to System States
 
  Introduction
TRACE32 has it′s own special BASIC-like meta-language called PRACTICE II which is a superset of it′s fundamental commands. Complete programs may be constructed using PRACTICE II for automatic testing or for the construction of command macros. All aspects of the systems may be controlled/programmed via the PRACTICE language.


Link
Tutorials: Debugging PRACTICE







Special Test Language for Automatic Test Applications - PRACTICE II

TRACE32 has it's own special BASIC-like meta-language called PRACTICE II which is a superset of it's fundamental commands. Complete programs may be constructed using PRACTICE II for automatic testing or for the construction of command macros. All aspects of the systems may be controlled/programmed via the PRACTICE language.

The PRACTICE Language supports the following Data Types:

  • Boolean, Binary, Hex, Integer
  • Float, Character, String, Range
  • Address, Address Range, Time
  • Binary Mask, Hex Mask

64 Bit Floating Point Arithmetic

Functions

All important characteristics of the system can be accessed by the PRACTICE language functions. In particular the PRACTICE program can be used to automatically enter target data.

PRACTICE Command Words

  • Nesting
    • ( block )

  • Jump Controls
    • GOTO
    • GOSUB
    • RETURN
    • JUMPTO
    • DO
    • ENDDO
    • RUN
    • END

  • Parameters and Variables
    • ENTRY
    • LOCAL
    • GLOBAL

  • Conditional Execution
    • IF
    • ELSE

  • Loop Controls
    • WHILE
    • REPEAT

  • MISC
    • WAIT

  • Error and Exception Handling
    • ON

  • Screen I/O
    • INKEY
    • PRINT
    • AREA
    • ENTER
    • TITLE
    • BEEP

  • File I/O
    • READ
    • WRITE
    • OPEN
    • CLOSE

  • Interactive Controls
    • STOP
    • CONTINUE
    • PBREAK
    • PSTEP

  • Program Functions
    • PLIST
    • PEDIT
    • PMACRO
    • PBREAK

Structured Programs

PRACTICE is a highly structured language. Local and global variables may be used. One module (file) may call another.

Inbuilt Source Text Editor

  • Multiwindow Capability
  • Search and Replace Functions
  • Very Fast
  • Block Copy and Block Move

Commands and Parameter History

The last commands or parameters can be recalled from the command buffer.

LOG Capability

All commands, function key and mouse operations may be recorded to a file. The file can be reexecuted.

Setup Store



Storing the state of the system generates a PRACTICE file, which may be edited.


Freely Configurable Menus and Icons



The standard menu and all special menus can be modified and extended by the customer


Freely Configurable Windows



Application specific window can be generated






Copyright © 2023 Lauterbach GmbH, Altlaufstr.40, 85635 Höhenkirchen-Siegertsbrunn, Germany   Impressum     Privacy Policy
The information presented is intended to give overview information only.
Changes and technical enhancements or modifications can be made without notice. Report Errors
Last generated/modified: 14-Jun-2023