WinLpt (WndLpt)

Intro

Application

Vis Plugin

Screenshots

History

Downloads

Lpt Tools

SDK

Script

Basic syntax

All Instructions

Extended syntax

Additional rules

Hardware

LED-to-LPT connection

Panel map

Lpt Tools

LPT Buttons

Stroboscope

EasyDrive

LptPort

Other

Mark As Good

Unmark bad clusters

Additional rules

Entry point

If you define a label named as "start" it will be the entry point to the script.
101010101010 ; This command will never be executed
START:
100000000000 ; This command will be executed first
010000000000
001000000000
000100000000
goto START   ; Goto the label names as "start"

Case-sensitivity

All commands are not case-sensitivity. All labels and functions defined by user are not case-sensitivity too.
CYcle:       ; Define the label "CYCLE"
111100001111
SHIFT +1
000011110000
shift +1
goTo cycLE   ; Goto the label "CYCLE"

Script Compilation errors

WndLpt Compiler skip script lines which were found syntax errors.

Script Runtime errors

WndLpt Kernel stop execution then error detected.

Script Debugging In STEP mode

Step by step debugging activate by the Step button or the key F8. This case WndLpt make breaks only on the lines where regular pause are executed.

Script Debugging In TRACE mode

Trace debugging activate by the key F11. This case WndLpt make breaks on the all lines that contain any commands or directives.