Page 1 of 1

Macro debugging

PostPosted: Fri Jul 13, 2012 1:23 am
by lassevc
Hi

I'm using Personal Communication, where I have programmed several different macros. They are all programmed in VBScript and starts with the following lines:

[PCOMM SCRIPT HEADER]
LANGUAGE=VBSCRIPT
DESCRIPTION=NAME
[PCOMM SCRIPT SOURCE]
OPTION EXPLICIT
autECLSession.SetConnectionByName(ThisSessionName)

But I often get an error and the program crashes.
How can I fix it?

It seems to me that the macro can't start at all, even though there isn't anything else than a simple MsgBox.
The funny part is that recorded macros in the standard programming language never debugs.

I really hope you are able to help med and all the other users.

Kind regards
Lasse, Denmark

Re: Macro debugging

PostPosted: Fri Jul 13, 2012 1:50 am
by NicC
This is a mainframe forum - you are talking about PCs and Visual Basic, or, at least, a variant of. suggest you try and find a VB forum or PComm forum.

Re: Macro debugging

PostPosted: Fri Jul 13, 2012 7:03 am
by dick scherrer
Hello and welcome to the forum,

As mentioned, we are primarily a mainframe forum. However; several of our users use Pcomm as their terminal emulator and maybe one of them will see your post. Once upon a time, i did. . .

To get help here (or on some other forum), you will need to post better than "it didn't work" - which is probably the biggest waste of time on a forum. You have to tell what error messages(s) were presented or what abend code was generated or anything else that might help someone help you.

Suggest you consider opening an issue with Pcomm Support.