Search found 10 matches

by GeoffC
Tue Jan 17, 2012 12:44 am
Forum: Programming
Topic: @strnow
Replies: 2
Views: 976

Re: @strnow

duh!
by GeoffC
Mon Jan 16, 2012 4:46 pm
Forum: Programming
Topic: @strnow
Replies: 2
Views: 976

@strnow

I wonder if there's a bug in this function? This test program always displays a time where the hours and seconds are correct, but minutes is always set to "01". I'm using v7.2, 5th Jan 2012 build. for !i = 1 to 1000 %time = "Time no is: "+@strnow("HH:MM:SS") + ". C...
by GeoffC
Thu Jan 12, 2012 3:32 am
Forum: Programming
Topic: Multi core processors
Replies: 2
Views: 2283

Re: Multi core processors

Thanks - Geoff
by GeoffC
Wed Jan 11, 2012 3:43 pm
Forum: Programming
Topic: Multi core processors
Replies: 2
Views: 2283

Multi core processors

I have an EViews program I run frequently which takes about 10 minutes to execute. I'm running on a PC with an Intel I5 processor chip which has two cores and supports four threads. When my program is running the cpu is only about 25% utilised, which I presume means that EViews is only using one of ...
by GeoffC
Wed Dec 15, 2010 2:35 am
Forum: Programming
Topic: running Eviews as a scheduled task
Replies: 2
Views: 1073

Re: running Eviews as a scheduled task

Thanks Gareth - that works perfectly
by GeoffC
Tue Dec 14, 2010 4:16 am
Forum: Programming
Topic: running Eviews as a scheduled task
Replies: 2
Views: 1073

running Eviews as a scheduled task

I need to run a program regularly to analyse data collected each day. I've successfully used the windows task scheduler to start EViews and run the necessary program at 0300 each morning. The command line equivalent to the scheduled task would look like this: eviews7.exe data_analysis.prg The only p...
by GeoffC
Sat Oct 09, 2010 3:20 am
Forum: Programming
Topic: Avoiding divide by zero errors
Replies: 2
Views: 1699

Re: Avoiding divide by zero errors

Many thanks.
by GeoffC
Fri Oct 08, 2010 9:34 am
Forum: Programming
Topic: Avoiding divide by zero errors
Replies: 2
Views: 1699

Avoiding divide by zero errors

I'm trying to find a way of avoiding errors when dividing one series by another, when the latter series may contain zero values. I would expect the @recode function to be the answer, but if I run this sample program: series x = 2 x(1) = 0 series y = 1 series z = @recode(x=0,na,y/x) I still get a div...
by GeoffC
Tue Sep 21, 2010 2:00 am
Forum: Programming
Topic: Passing parameters to subroutines
Replies: 2
Views: 4862

Re: Passing parameters to subroutines

Thanks Gareth for your very clear reply - that does indeed solve the problem.
Geoff
by GeoffC
Tue Sep 14, 2010 1:06 am
Forum: Programming
Topic: Passing parameters to subroutines
Replies: 2
Views: 4862

Passing parameters to subroutines

I have a couple of questions related to the handling of parameters that are passed to subroutines. If I run this simple example: subroutine process_workfile (string fname, string sname) %fn = fname wfopen {%fn} %sn = sname endsub call process_workfile ("example.wf1", "example_series&q...

Go to advanced search