next up previous contents index
Next: require修飾子付き関数宣言 Up: 関数 Previous: 関数

   
関数の宣言

関数を宣言することによって,その関数を呼び出すことが可能となる。 関数名は,英文字または下線``_''で始まる任意長の 英数字文字列であり,大文字と小文字は区別される。 関数名として,組み込み関数の名前や,コマンド名等の予約語を 使用することはできない。

Integer    func_int1(), func_int2();
Real       func_real1(), func_real2();
Complex    func_cmp1(), func_cmp2();
String     func_str1(), func_str2();
Polynomial func_poly1(), func_poly2();
Rational   func_rat1(), func_rat2();
Matrix     func_mat1(), func_mat2();
Array      func_arr1(), func_arr2();
Index      func_ind1(), func_ind2();
List       func_list1(), func_list2();
void       func_void1(), func_void2();




 

Masanobu KOGA 平成10年8月19日