|
- dev_update_off()
- File_Name := 'AItrainloss.txt'
- open_file (File_Name, 'input', FileHandle)
- IsEOF := 0
- nums := []
- while (IsEOF == 0)
- fread_string (FileHandle, Number, IsEOF)
- Number := number(Number)
- nums := [nums, Number]
- endwhile
- close_file (FileHandle)
复制代码 对于tuple的操作- for (int i=0; i<=(int)((new HTuple(hv_nums.TupleLength()))-1); i = i + 1)
- {
- hv_x = hv_nums.TupleSelect(i);
- }
复制代码
|
|