Could anyone help me out here please? I am new at symposium scripting and I have an assignment to complete as soon as possible. I have to input a day of week and time of day into a script and a bit confused.
If day of week is Monday, wednesday and Friday and time of day is 8am - 6pm then execute open section.
If day of week is Tuesday and Thursday and time of day is 8am - 8pm then execute open section.
IF (DAY OF WEEK = MONDAY,WEDNESDAY,FRIDAY) AND (TIME OF DAY = 08:00..18:00)
THEN EXECUTE Open_Section
END IF
IF (DAY OF WEEK = TUESDAY,THURSDAY) AND (TIME OF DAY = 08:00..20:00)
THEN EXECUTE Open_Section
ELSE
EXECUTE Closed_section
Is the above scripting correct? Your help will be much appreciated.
If day of week is Monday, wednesday and Friday and time of day is 8am - 6pm then execute open section.
If day of week is Tuesday and Thursday and time of day is 8am - 8pm then execute open section.
IF (DAY OF WEEK = MONDAY,WEDNESDAY,FRIDAY) AND (TIME OF DAY = 08:00..18:00)
THEN EXECUTE Open_Section
END IF
IF (DAY OF WEEK = TUESDAY,THURSDAY) AND (TIME OF DAY = 08:00..20:00)
THEN EXECUTE Open_Section
ELSE
EXECUTE Closed_section
Is the above scripting correct? Your help will be much appreciated.