Worrkarround for ENDPASTHR command?

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
sgonchigar
New User
Posts: 10
Joined: Tue Oct 12, 2010 5:05 am
First Name: Sunil
Last Name: Gonchigar
Company Name: Dell Services
Contact:

Worrkarround for ENDPASTHR command?

Post by sgonchigar »

I get the following error message:
Command ENDPASTHR not allowed in this setting.

How should I correct this? Thank you.
User avatar
Alex
Profound Logic Staff Member
Posts: 233
Joined: Fri Jan 04, 2008 12:10 pm
First Name: Alex
Last Name: Roytman
Company Name: Profound Logic Software
Contact:

Re: Worrkarround for ENDPASTHR command?

Post by Alex »

ENDPASTHR is valid in interactive sessions only. However, Profound UI sessions run in batch. So, the solution is to avoid using the command. If the intention of the command is to simply end the job, you can do so by exiting the application normally.

If this is a converted program and you would like use the same source code for running green-screen applications and Profound UI applications, you will have to create a conditional statement around this command.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests