Search found 45 matches

by bbunney
Fri Oct 28, 2022 4:03 pm
Forum: RPG IV
Topic: Sleep API not working correctly in sub-procedures
Replies: 2
Views: 6857

Re: Sleep API not working correctly in sub-procedures

Thank you jonboy49. I should have caught that. It works now.
by bbunney
Fri Oct 28, 2022 1:29 am
Forum: RPG IV
Topic: Sleep API not working correctly in sub-procedures
Replies: 2
Views: 6857

Sleep API not working correctly in sub-procedures

I searched the whole site and didn't find any posts on this. If I pass a constant value, the Sleep API works fine in sub-procedures(Sleep(4)). If I pass a variable name I get varying results (Sleep(SleepSeconds)). If the value comes from another variable that is packed the sleep command takes 15 sec...
by bbunney
Thu Oct 27, 2022 8:42 pm
Forum: RPG IV
Topic: Soft Enter and Function Keys Pressed
Replies: 4
Views: 7618

Re: Soft Enter and Function Keys Pressed

ERFJR, I have a program that starts and stops HTTP server instances and I have a 4 second delay when a STRPCPSVR or ENDTCPSVR command is run and wanted to display a window for 4 seconds that the command was being processed and have it disappear on it's own without any user intervention.
by bbunney
Thu Oct 27, 2022 8:32 pm
Forum: RPG IV
Topic: Soft Enter and Function Keys Pressed
Replies: 4
Views: 7618

Re: Soft Enter and Function Keys Pressed

Thank you Scott. I appreciate it.
by bbunney
Thu Oct 27, 2022 6:56 pm
Forum: RPG IV
Topic: Soft Enter and Function Keys Pressed
Replies: 4
Views: 7618

Soft Enter and Function Keys Pressed

Is there a way for a RPGLE program that is sitting on display file record format read statement to cause the enter key or a function key to be pressed programmatically or a way of getting the program off the read statement to the next executable statement? Thanks!