Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual—522629-013
4-3
DEALLOCATESEGMENT Procedure
(Superseded by SEGMENT_DEALLOCATE_
Syntax for TAL Programmers
Parameters
day returned value
INT
is the code for the day of week, as follows: 0 = Sunday, 1 = Monday, ..., 6 =
Saturday. If
day is -1, then the julian-day-num was negative.
julian-day-num input
INT(32):value
contains the Julian Day Number for which the day of the week is desired.
Example
INT day
INT(32) JDN := 2435012D;
.
.
day := DAYOFWEEK ( JDN );
IF day < 0 THEN ...
DEALLOCATESEGMENT Procedure
(Superseded by SEGMENT_DEALLOCATE_
Procedure )
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Example
day := DAYOFWEEK ( julian-day-num ); ! i