Search found 8 matches

by acraigpgpf
Thu Jan 12, 2012 9:27 am
Forum: Programming
Topic: Pausing a program
Replies: 8
Views: 9311

Re: Pausing a program

But at least with the spool I wan't have a cascade of tiles.
by acraigpgpf
Thu Jan 12, 2012 8:42 am
Forum: Programming
Topic: Pausing a program
Replies: 8
Views: 9311

Re: Pausing a program

So the best way to run this sort of a QA step is with a spool object?
by acraigpgpf
Thu Jan 12, 2012 7:54 am
Forum: Programming
Topic: Pausing a program
Replies: 8
Views: 9311

Re: Pausing a program

Also, an addendum. My model identifies exogenous variables with the suffix "_cbo." I have noticed that my model divides variables into endogenous and exogenous. Is there an object type for exogenous variables that I can use in the @wlookup function instead of "series"?
by acraigpgpf
Thu Jan 12, 2012 7:40 am
Forum: Programming
Topic: Pausing a program
Replies: 8
Views: 9311

Pausing a program

Hi all, I am working with a model with 75 exogenous variables that are pulled from a database that my firm maintains. I would like to add in a quality assurance step where all of the exogenous variables are visually inspected to rule out weird data processing errors. I have a loop that produces line...
by acraigpgpf
Tue Jan 10, 2012 5:09 pm
Forum: Programming
Topic: Using a Loop and the @wlookup function to create line graphs
Replies: 3
Views: 4072

Re: Using a Loop and the @wlookup function to create line gr

Sorry. This program returns line graphs of all the variables in my workspace, not just the aliases. Any suggestions?
by acraigpgpf
Tue Jan 10, 2012 3:50 pm
Forum: Programming
Topic: Using a Loop and the @wlookup function to create line graphs
Replies: 3
Views: 4072

Using a Loop and the @wlookup function to create line graphs

I'm writing a program to visually inspect the results of a solved model. I want to produce line graphs of all of my aliased variables that are created when I solve my model. This is the program as it stands. %name = @wlookup("*_0", "series") for %1 {%name} smpl 2010 2085 line {%1...
by acraigpgpf
Mon Jan 09, 2012 9:41 am
Forum: Programming
Topic: Replacing values after a specified date
Replies: 2
Views: 3336

Re: Replacing values after a specified date

Thanks!
by acraigpgpf
Mon Jan 09, 2012 9:02 am
Forum: Programming
Topic: Replacing values after a specified date
Replies: 2
Views: 3336

Replacing values after a specified date

I'm brand new to programming. I am trying to replace values after a certain date in an annual dataset.

for !i = 2010 to 2085

if !i>= 2022 then altdocfix =5555
endif

next

Rather than replacing values after 2021 with 5555, this loop replaces ALL values. Any suggestion?

ac

Go to advanced search