title: How can i use $ in x(i,j) - GAMS
body: <p>i tried this &amp; doesn't work and given errors something like that.</p>
  
  <blockquote>
    <p>EQUATIONS
    ST3(i$(ord(i) LE (5) and ord(i) GE (1)),k$(ord(k) LE (19) and ord(k) GE (1)));</p>
    
    <p>*<em>*</em>       $10,185                            $195,96</p>
    
    <p>ST3(i$(ord(i) LE (5) and ord(i) GE (1)),k$(ord(k) LE (19) and ord(k) GE (1))) ..</p>
    
    <p>*<em>*</em>       $148,8                            $36                             $409 </p>
    
    <p>IN(i,k) + sum(j, X(j,k+1)*p(i,j)) + W(i,k+1) -  W(i,k) - sum(j, X(j,k)*p(i+1,j)) - IN(i+1,k) =E=0;</p>
  </blockquote>
  
  <p>8  ')' expected</p>
  
  <p>10  ',' expected</p>
  
  <p>36  '=' or '..' or ':=' or '$=' operator expected
       rest of statement ignored</p>
  
  <p>96  Blank needed between identifier and text
         (-or- illegal character in identifier)
         (-or- check for missing ';' on previous line)</p>
  
  <p>148  Dimension different - The symbol is referenced with more/less
          indices as declared</p>
  
  <p>185  Set identifier or '*' expected</p>
  
  <p>195  Symbol redefined with a different type</p>
  
  <p>409  Unrecognizable item - skip to find a new statement
         looking for a ';' or a key word to get started again</p>
  
  <p>how can i fix these code part?</p>