Developer Questions

On this page, you’ll learn:

  • General Issues

  • Workarounds for developer issues.

  • What is DDE

  • What is UTF7 and ANSI?

  • What is Lua?

What is Lua?


Lua is a powerful embeddable scripting engine. It supports procedural programming, language-validation and extensible so custom procedures and functions can be added. Lua feature compatibility with EccoExt.

All EccoExt functions — such as msgbox(), trim(), rtrim(), time(), display(), debug(), today(), now() are supported including Lua 5.3.2 basic classes — math, os, string, table. Special Message-Box

The message-box function has been updated to include a “Copy To Clipboard” button to copy “error messages” or Lua execution “results” to Clipboard.

In order to make Lua a usable scripting language within StoryServer, certain windows constructs have been added.

Lua is already embedded inside StoryServer. You do not need to download any Lua DLLs, Lua EXEs to use Lua inside StoryServer.

For Lua beginners, see -

What happens if I get a message-box with '<global>' error?

Lua is used in all locations — filter, scripting and auto-assign rules.

If you get - cryptic <\global error>, nil not found, function not found, something not found.

All Lua errors from STDIN and STDOUT is routed to a console window.

Please open StoryServer Console to see exact error message.

Which version of Lua is used?

StoryServer uses Lua 5.3 in strict mode. This has clear separation of variables and function-names. The Lua syntax is slightly different than Lua 5.2 and Lua 5.1, so some EccoExt scripts previously made, will have to be re-coded to prevent Lua script errors.

What is DDE?

Dynamic Data Exchange was first introduced in 1987 with the release of Windows 2.0 as a method of interprocess communication so that one program could communicate with or control another program, somewhat like Sun’s RPC (Remote Procedure Call). It used the “Windows Messaging Layer” functionality within Windows. DDE continues to work even in modern versions of Windows.[1]

What is UTF7 and ANSI?

UTF7 is a a variable-length character encoding that was proposed for representing Unicode text using a stream of ASCII characters. It was originally intended to provide a means of encoding Unicode text for use in Internet E-mail messages that was more efficient than the combination of UTF-8 with quoted-printable. [2]

ASCII is abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Most modern character-encoding schemes are based on ASCII, although they support many additional characters. [3]

  • EccoPro uses DDE-ASCII.

  • StoryServer uses DDE-UTF7

DDE Issues

I get DDE Error 400A or 16394.

  1. Ensure DDE server is turned on.

  2. Ensure correct path is available.

  3. Ensure both are same admin level.

Is there a 'debug mode' for DDE?

  1. There is a logging facility. To enable DDE logging, see StoryBoard > Options.

Last updated: 2019 Jan 19th 05:08:06