Ignore:
Timestamp:
Jun 19, 2007, 4:02:00 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jenga/include/smoothie/Variable.h

    r170 r172  
    139139
    140140    int source_code_address;
     141
     142
     143    static int GetSubScriptCounts(const int *ss){
     144        // 配列の要素数を取得
     145        int i,i2;
     146        for(i=0,i2=1;i<255;i++){
     147            if(ss[i]==-1) break;
     148            i2*=ss[i]+1;
     149        }
     150        return i2;
     151    }
    141152};
    142153
Note: See TracChangeset for help on using the changeset viewer.