質問編集履歴
1
コードの修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -38,23 +38,26 @@
|
|
38
38
|
string judge;
|
39
39
|
int box;
|
40
40
|
|
41
|
-
if(H2 < C1)
|
41
|
+
if(H2 < C1)
|
42
42
|
box = 1;
|
43
|
+
|
43
|
-
|
44
|
+
if(L2 > C1)
|
44
45
|
box = -1;
|
45
|
-
}
|
46
46
|
|
47
|
+
|
47
|
-
if(box == 1)
|
48
|
+
if(box == 1)
|
48
49
|
judge = "↑";
|
50
|
+
|
49
|
-
|
51
|
+
else if(box == -1)
|
50
52
|
judge = "↓";
|
51
|
-
|
53
|
+
|
52
54
|
|
53
55
|
ObjectCreate("high_low",OBJ_LABEL,0,0,0);
|
54
56
|
ObjectSet("high_low",OBJPROP_CORNER,CORNER_RIGHT_UPPER);
|
55
57
|
ObjectSet("high_low",OBJPROP_XDISTANCE,50);
|
56
58
|
ObjectSet("high_low",OBJPROP_YDISTANCE,50);
|
57
59
|
ObjectSetText("high_low","上位足:"+judge,font_size,"MS ゴシック",clrYellow);
|
60
|
+
|
58
61
|
|
59
62
|
|
60
63
|
return(0);
|