User Tools

Site Tools


howtos:toolcoding:projecting_a_share_into_simulation_time

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howtos:toolcoding:projecting_a_share_into_simulation_time [2011/01/31 16:52]
shona.weldon
howtos:toolcoding:projecting_a_share_into_simulation_time [2011/02/15 21:36] (current)
marcus.williams
Line 53: Line 53:
  
 local firstHisYearForProjection[],​ asymtoticPercentChange[],​ joinMethod[] local firstHisYearForProjection[],​ asymtoticPercentChange[],​ joinMethod[]
 +
 +string $viewDesc = "view myViewName: "
  
 tool $informPath/​satProjFromHist.t \ tool $informPath/​satProjFromHist.t \
Line 77: Line 79:
 integer $joinMethod integer $joinMethod
 getobjinfo (joinMethod[],​ $joinMethod;​ info=dataElement) getobjinfo (joinMethod[],​ $joinMethod;​ info=dataElement)
-if $joinMethod = 1+if $joinMethod ​== 1
  buildstring ($viewDesc,​$viewDesc,"​join to projection of last 2 years of history"​)  buildstring ($viewDesc,​$viewDesc,"​join to projection of last 2 years of history"​)
 endif endif
-if $joinMethod = 2+if $joinMethod ​== 2
  buildstring ($viewDesc,​$viewDesc,"​join to trend line")  buildstring ($viewDesc,​$viewDesc,"​join to trend line")
 endif endif
-if $joinMethod = 3+if $joinMethod ​== 3
  buildstring ($viewDesc,​$viewDesc,"​join to trend projection of last history year")  buildstring ($viewDesc,​$viewDesc,"​join to trend projection of last history year")
 endif endif
howtos/toolcoding/projecting_a_share_into_simulation_time.1296492764.txt.gz ยท Last modified: 2011/01/31 16:52 by shona.weldon