ギコナビ
Revision | 277f11affe68892c60459611bc667b14d8f25295 (tree) |
---|---|
Time | 2005-05-22 21:06:59 |
Author | h677 <h677> |
Commiter | h677 |
Format文の入れ子を解消
@@ -772,7 +772,7 @@ begin | ||
772 | 772 | if (Trim(Rec.FFileName) = '') or (Trim(Rec.FTitle) = '') then |
773 | 773 | Continue; |
774 | 774 | |
775 | - s := Format('%x', [cnt]) + #1 //Ô | |
775 | + {s := Format('%x', [cnt]) + #1 //Ô | |
776 | 776 | + Rec.FFileName + #1 //t@C¼ |
777 | 777 | + Rec.FTitle + #1 //^Cg |
778 | 778 | + Format('%x', [Rec.FCount]) + #1 //JEg |
@@ -787,11 +787,30 @@ begin | ||
787 | 787 | + Format('%x', [Rec.FCount]) + #1 //AllResCount |
788 | 788 | + Format('%x', [0]) + #1 //NewResCount |
789 | 789 | + Format('%x', [0]); //AgeSage |
790 | + } | |
791 | + s := Format('%x'#1'%s'#1'%s'#1'%x'#1'%x'#1'%x'#1'%x'#1'%x'#1'%x'#1 + | |
792 | + '%s'#1'%x'#1'%x'#1'%x'#1'%x'#1'%x', | |
793 | + [cnt, //Ô | |
794 | + Rec.FFileName, //t@C¼ | |
795 | + Rec.FTitle, //^Cg | |
796 | + Rec.FCount, //JEg | |
797 | + 0, //size | |
798 | + 0, //RoundDate | |
799 | + 0, //LastModified | |
800 | + 0, //Kokomade | |
801 | + 0, //NewReceive | |
802 | + '0', //¢gp | |
803 | + 0, //UnRead | |
804 | + 0, //ScrollTop | |
805 | + Rec.FCount, //AllResCount | |
806 | + 0, //NewResCount | |
807 | + 0] //AgeSage | |
808 | + ); | |
790 | 809 | |
791 | 810 | sl.Add(s); |
792 | 811 | inc(cnt); |
793 | 812 | end; |
794 | - sl.EndUpdate; | |
813 | + sl.EndUpdate; | |
795 | 814 | sl.SaveToFile(FileName); |
796 | 815 | finally |
797 | 816 | sl.Free; |
@@ -839,21 +858,24 @@ begin | ||
839 | 858 | |
840 | 859 | for i := 0 to Board.Count - 1 do begin |
841 | 860 | Board.Items[i].No := i + 1; |
842 | - s := Format('%x', [Board.Items[i].No]) + #1 | |
843 | - + Board.Items[i].FileName + #1 | |
844 | - + Board.Items[i].Title + #1 | |
845 | - + Format('%x', [Board.Items[i].Count]) + #1 | |
846 | - + Format('%x', [Board.Items[i].Size]) + #1 | |
847 | - + Format('%x', [DateTimeToInt(Board.Items[i].RoundDate)]) + #1 | |
848 | - + Format('%x', [DateTimeToInt(Board.Items[i].LastModified)]) + #1 | |
849 | - + Format('%x', [Board.Items[i].Kokomade]) + #1 | |
850 | - + Format('%x', [Board.Items[i].NewReceive]) + #1 | |
851 | - + '0' + #1 //¢gp | |
852 | - + Format('%x', [BoolToInt(Board.Items[i].UnRead)]) + #1 | |
853 | - + Format('%x', [Board.Items[i].ScrollTop]) + #1 | |
854 | - + Format('%x', [Board.Items[i].AllResCount]) + #1 | |
855 | - + Format('%x', [Board.Items[i].NewResCount]) + #1 | |
856 | - + Format('%x', [Ord(Board.Items[i].AgeSage)]); | |
861 | + s := Format('%x'#1'%s'#1'%s'#1'%x'#1'%x'#1'%x'#1'%x'#1'%x'#1'%x'#1 + | |
862 | + '%s'#1'%x'#1'%x'#1'%x'#1'%x'#1'%x', | |
863 | + [Board.Items[i].No, //Ô | |
864 | + Board.Items[i].FileName, //t@C¼ | |
865 | + Board.Items[i].Title, //^Cg | |
866 | + Board.Items[i].Count, //JEg | |
867 | + Board.Items[i].Size, //size | |
868 | + DateTimeToInt(Board.Items[i].RoundDate), //RoundDate | |
869 | + DateTimeToInt(Board.Items[i].LastModified), //LastModified | |
870 | + Board.Items[i].Kokomade, //Kokomade | |
871 | + Board.Items[i].NewReceive, //NewReceive | |
872 | + '0', //¢gp | |
873 | + BoolToInt(Board.Items[i].UnRead), //UnRead | |
874 | + Board.Items[i].ScrollTop, //ScrollTop | |
875 | + Board.Items[i].AllResCount, //AllResCount | |
876 | + Board.Items[i].NewResCount, //NewResCount | |
877 | + Ord(Board.Items[i].AgeSage)] //AgeSage | |
878 | + ); | |
857 | 879 | |
858 | 880 | sl.Add(s); |
859 | 881 | end; |