Skip to content

Interactive Mode #1

Description

@ThomasXE1

Hi!
I think this is a great piece of software, but I have one small problem using it, possibly an understanding problem. Let me explain:
Up to now, I used the VBScript engine embedded in my software. This allows the customer to customize the user interface of the software, add functions in the menus, do repeated acquisitions, data export and many more things. But for doing that a startup script/program is called at startup of the software, but later short scripts can be called, for example if the acquisition finishes or using a menu command or button.

But in order to do this the interpreter must remain in memory and remember the defined procedures and global variables between one call and the next. Here a few lines illustrate what I mean:

OScript_Work(L"Sub Hello(n) : Wscript.Echo \"Hello\" & n : end Sub : Hello \"Thomas\" \n");
OScript_Work(L"TheAnswer=42 \n");
OScript_Work(L"WScript.Echo \"The answer is \" & TheAnswer ");
OScript_Work(L"Hello \"again\" ");

Any possibility to get something like that running?
Best regards,
Thomas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions