Please enable JavaScript to view this site.

 

Property of the script line: Inserts.

 

This property is used to specify when to skip/exclude an Insert script line.

 

This is useful for diaries where the number of pages inserted depends on the number of days in February (ie. if the current year is a leap year or not).

 

Sometimes the rules for these are so complicated that the piecemeal use of the skip line property on individual lines of the insert block gets too complex, and it is just easier to create 2 independent insert block, one for leap years and one for non-leap years, and use the Skip Insert property to only have one of the 2 active for any given script year.

 

Skipping can be based on based on the following criteria:

 

Ignore

This option means that the current Insert script line is not skipped due to this option.

Leap Year Script

The current Insert script line will be skipped whenever the Year property of the current script is a leap year.

Non-Leap Year Script

The current Insert script line will be skipped whenever the Year property of the current script is not a leap year.

Odd Script Year

The current Insert script line will be skipped whenever the Year property of the current script is odd (not evenly divisible by 2).

Even Script Year

The current Insert script line will be skipped whenever the Year property of the current script is even (not evenly divisible by 2).

Leap Year Dates

Any Insertion Date (repeating, specific or variable) which does belong to a leap year will be skipped.

Non-Leap Year Dates

Any Insertion Date (repeating, specific or variable) which does not belong to a leap year will be skipped.

 

This property is reminiscent of the February 28 and March 1 properties, but it is, in fact, fundamentally different.

 

The first superficial difference is that the February 28 and March 1 properties specify when to include a date, as opposed to when to exclude it.

 

But the fundamental difference is that the February 28 and March 1 properties specify whether specific dates (namely February 28 and March 1) should be included, while the Skip Insert property specifies whether the entire Insert Block should be skipped, for any date (usually based on the Year property of a Script), as shown in the example on the right.

 

See also: February 28, March 1st, Insert Occurrence, Ignore Sidedness, Insert First Page, Insertion Rule, Skip Line.

 


Topic 181060, last updated on 06-May-2021