質問編集履歴

1

コードの修正

2020/11/28 04:05

投稿

nisei2
nisei2

スコア19

test CHANGED
File without changes
test CHANGED
@@ -78,27 +78,31 @@
78
78
 
79
79
 
80
80
 
81
- if(H2 < C1){ //条件1
81
+ if(H2 < C1)
82
82
 
83
83
  box = 1;
84
84
 
85
+
86
+
85
- }else if(L2 > C1){ //条件2
87
+ if(L2 > C1)
86
88
 
87
89
  box = -1;
88
90
 
89
- }
91
+
90
92
 
91
93
 
92
94
 
93
- if(box == 1){ //条件1が満たされたとき↑矢印を表示
95
+ if(box == 1)
94
96
 
95
97
  judge = "↑";
96
98
 
99
+
100
+
97
- }else if(box == -1){ //条件2が満たされたとき↓矢印を表示
101
+ else if(box == -1)
98
102
 
99
103
  judge = "↓";
100
104
 
101
- }
105
+
102
106
 
103
107
 
104
108
 
@@ -112,6 +116,8 @@
112
116
 
113
117
  ObjectSetText("high_low","上位足:"+judge,font_size,"MS ゴシック",clrYellow);
114
118
 
119
+
120
+
115
121
 
116
122
 
117
123