アットウィキロゴ

dart89

import 'dart:html';
 
void main() {
 
List<String> post=new List<String>(100);  
List<int> life=new List<int>(100); 
List<int> car=new List<int>(100); 
List<int> age=new List<int>(100); 
int number;
 
number=21;
 
faststep sub=new faststep();
sub.makedata();
post=sub.post;
car=sub.car;
age=sub.age;
life=sub.life;
 
print(life[10]);
 
 
 
}
 
class faststep{
 
List<String> post=new List<String>(100);  
List<int> life=new List<int>(100); 
List<int> car=new List<int>(100); 
List<int> age=new List<int>(100); 
 
int s,sx,tx;
 
void makedata(){  
 
  for(s=1;s<22;s++){
    life[s]=100;
  }
 
  for(s=1;s<22;s++){
    car[s]=s;
  }
  tx=0;
  for(s=1;s<7;s++){
    for(sx=1;sx<s+1;sx++){
    tx=tx+1;
  age[tx]=7-s;
  }
  }
 
 
  post[0]="引退";
  post[1]="首相";
  post[2]="幹事長";
  post[3]="総務会長";
  post[4]="政調会長";
  post[5]="国対委員長";
  post[6]="幹事代理";
  post[7]="総務代理";
  post[8]="政調代理";
  post[9]="国対代理";
  post[10]="幹事";
  post[11]="幹事";
  post[12]="幹事";
  post[13]="総務";
  post[14]="総務";
  post[15]="総務";
  post[16]="部会";
  post[17]="部会";
  post[18]="部会";
  post[19]="国対";
  post[20]="国対";
  post[21]="国対";
 
}  
}
 
最終更新:2013年11月19日 22:16