• How to use basic of HSP script editor
  • HSP script editor (HSED2.EXE) is for editing script. You can do automatically compile and run. If you use HSP script editor, following files are needed to exist in the same directory as "HSED2.EXE".

    HSED2.EXE

    : HSP script editor

    HSP2.EXE

    : HSP executable file

    HSPRT

    : HSP runtime module

    HSPCMP.DLL

    : HSP code compiler DLL

    HSP script editor must exist main unit(HSED2.EXE) and HSP running file (HSP2.EXE) in the same directory. And if you make executable file (EXE file) ,runtime file (HSPRT) is needed to exist, too.
    When you execute HSP script editor ,it shows you new edit window of text. Then you write script with load/save files the same way as common text editor. Basic operation is same as "Notepad" included with Windows.
    When You run editing script , select [Compile and Run] from menu or push F5 key. You select [Run] or push F6 and run a last compiled script.
    When error happened in compiling, show the dialog which tell you about error and line number happened error.

    For example : error xxx in line 15 (HSPTMP) --> Same label defined

    That show that error of "Same label defined" happened in 15th line. If error happened, chose [Go to line](or CTRL+J) of [Cursor] menu and check that line.
    Normal way to make script with repeating edit or run on HSP Script Editor. When it is complete, you use [Make Object] to make object file of it. Finally make EXE file or SCR file ( screen saver) and become one software.
    HSP Script Editor makes following files. These files need only at compiling. You can remove them when script was complete.

    HSPTMP

    : temporary file of source script

    OBJ

    : temporary file of run object