Little break/pause in a program

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

shm83
Posts: 35
Joined: Tue Sep 10, 2013 5:00 am

Little break/pause in a program

Postby shm83 » Fri Dec 13, 2013 4:24 am

Hi to all.

I would like to know if there is a command which allows me to "pause" a program for a concrete time (by code).

What I want to do is launching an eviews program, in which I launch an external software, and after some time (let´s say 3 seconds) it has to read a text file and then continue executing the code.

Another way would be that the Eviews program pauses its own execution until the external software has finished, but I don´t know either if it would be possible.


Thank you in advance

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13586
Joined: Tue Sep 16, 2008 5:38 pm

Re: Little break/pause in a program

Postby EViews Gareth » Fri Dec 13, 2013 7:24 am

Sleep

shm83
Posts: 35
Joined: Tue Sep 10, 2013 5:00 am

Re: Little break/pause in a program

Postby shm83 » Mon Dec 16, 2013 9:07 am

That works perfectly. Also the code to check if other process is finished would be quite difficult.

Thank you Gareth


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests