User Tools

Site Tools


code_style
no way to compare when less than two revisions

Differences

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


Last revision
code_style [2019/12/13 07:36] – created alexanderg
Line 1: Line 1:
  
 +**Table 2: Main elements of the CAPRI data base**
 +<Code:javascipt linenums:0 |Example #1 Our gams code: //hello.php//>
 +
 + p_trqBilat(RM,"LDC",XX,"TrqNT","%SIMY%") $ (DATA(RM,"TARS",XX,"%SIMY%") or DATA(RM,"TARV",XX,"%SIMY%")) = 1.E+10;
 + p_trqBilat(RM,"LDC",XX,"TsPref","%SIMY%") $ DATA(RM,"TARS",XX,"%SIMY%") = 0.001;
 + p_trqBilat(RM,"LDC",XX,"TaPref","%SIMY%") $ DATA(RM,"TARV",XX,"%SIMY%") = 0.001;
 +
 + p_trqBilat(RM,RM1,XX,TrqSet,"CUR" = p_trqBilat(RM,RM1,XX,TrqSet,"%SIMY%");
 + p_trqGlobl(RM,XX,TrqSet,"CUR"     = p_trqGlobl(RM,XX,TrqSet,"%SIMY%");
 +
 + DATA(RM,"TARS",XX,"CUR") = DATA(RM,"TARS",XX,"%SIMY%");
 + DATA(RM,"TARV",XX,"CUR") = DATA(RM,"TARV",XX,"%SIMY%");
 +*
 +</Code>
code_style.txt · Last modified: 2022/11/07 10:23 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki