Visual DialogScript

related topics
{system, computer, user}
{math, number, function}
{language, word, form}
{work, book, publish}
{company, market, business}
{school, student, university}

Visual DialogScript (VDS) is an interpreted programming language for Microsoft Windows. It can be used to create small, fast programs. VDS has a large number of dialog and graphical elements available to create professional looking programs. VDS programs have access to the Windows API; therefore, it is possible to write applications that can perform the same advanced tasks as other programming languages such as Visual Basic, C++, or Delphi.

Contents

Language

Unlike other programming languages, the syntax of VDS is very simple. Each command occupies one line, and has a plain English name that clearly describes its purpose. Variables are typeless, and can hold many kinds of information, for example, numbers or text. Functions are clearly distinguishable with names that start with '@', just like a spreadsheet.

The DialogScript language has a simple syntax not unlike MS-DOS batch language. It is designed for ease of use and efficiency when being interpreted by the run-time engine. There are 10 system variables, %0 to %9, which initially have the script file name in %0 and command line parameters in %1 through %9, just as in a batch file. There are also a further 26 user variables, %A to %Z. The contents of all variables (including system ones) can be changed once the script is running. There are now also 4032 global variables. These variables begin with %%, a letter, then alphanumerics plus underscores (e.g. %%my_variable_1.) There is no limit on the length of these user-defined variable names.[1]

Syntax Examples

Comments:

  • # This is a single line comment
  • REM This is a single line comment

Simple Information Message Box:

  • info "This is the information text"

Simple Warning Message Box:

  • warn "This is the warning text"

Create a custom dialog box:

  • dialog create,<name>,<top pixel position>,<left pixel position>,<width in pixels>,<height in pixels>

Write to the Windows Registry:

  • registry write,<root key>,<key>,<subkey>,<data>

Display an input prompt dialog box, storing the result in the variable %A:

  • %A = @input("Please enter a value:")

History

Visual DialogScript was originally created by Julian Moss of JM-Tech. Eventually, S.A.D.E. s.a.r.l., a French company, took over ownership and development of VDS, altering and improving upon its syntax. Currently, VDS is owned and developed by the British company Commercial Research Ltd.

Several versions of VDS have been released over time:

  • Visual DialogScript 2.0
  • Visual DialogScript 2.5
  • Visual DialogScript 3.0
  • Visual DialogScript 3.5
  • Visual DialogScript 4
  • Visual DialogScript 4.5
  • Visual DialogScript 5
  • Visual DialogScript 5.01
  • Visual DialogScript 5.02
  • Visual DialogScript 6

Currently Available Versions

There are several versions available for download:

External links

Full article ▸

related documents
Mutual exclusion
GW-BASIC
System analysis
Core dump
LZ77 and LZ78
Pentium FDIV bug
Segmentation fault
Remote procedure call
Nautilus (file manager)
PureBasic
Parasitic computing
Wikipedia:Federal Standard 1037C terms/computer programming terms
GTK+
Application binary interface
HTTP 404
Abstract Window Toolkit
ScriptBasic
IBM 1620 Model I
Allegro library
QuickBASIC
XPCOM
Microsoft BASIC
Accumulator (computing)
Monolithic kernel
Abstract machine
Access control list
Debugger
Ed (text editor)
Modifier key
Server-side scripting