커뮤니티
수직선 추가하는 수식 수정 부탁합니다
2014-08-26 15:37:53
124
글번호 78084
수고 많으십니다.
아래 0930분 수직선만 있는데 1000시, 1200시 1430분 등 추가할 경우의 수식 수정
부탁드립니다. 감사합니다.
if dayindex == 0 Then{
Condition1 = false;
TL_New(sdate,stime,9999999,sdate,stime,0);
}
if Condition1 == false and stime >= 093000 then{
Condition1 = true;
TL_New(sdate,stime,9999999,sdate,stime,0);
}
답변 1
예스스탁 예스스탁 답변
2014-08-26 16:39:38
안녕하세요
예스스탁입니다.
아래와 같이 원하시는 시간을 나열해 작성하시면 됩니다.
if dayindex == 0 Then
TL_New(sdate,stime,9999999,sdate,stime,0);
if stime == 093000 or (stime > 093000 and stime[1] < 093000) then
TL_New(sdate,stime,9999999,sdate,stime,0);
if stime == 100000 or (stime > 100000 and stime[1] < 100000) then
TL_New(sdate,stime,9999999,sdate,stime,0);
if stime == 120000 or (stime > 120000 and stime[1] < 120000) then
TL_New(sdate,stime,9999999,sdate,stime,0);
if stime == 143000 or (stime > 143000 and stime[1] < 143000) then
TL_New(sdate,stime,9999999,sdate,stime,0);
즐거운 하루되세요
> 팔전구기 님이 쓴 글입니다.
> 제목 : 수직선 추가하는 수식 수정 부탁합니다
> 수고 많으십니다.
아래 0930분 수직선만 있는데 1000시, 1200시 1430분 등 추가할 경우의 수식 수정
부탁드립니다. 감사합니다.
if dayindex == 0 Then{
Condition1 = false;
TL_New(sdate,stime,9999999,sdate,stime,0);
}
if Condition1 == false and stime >= 093000 then{
Condition1 = true;
TL_New(sdate,stime,9999999,sdate,stime,0);
}