#Include

<< Click to Display Table of Contents >>

Navigation:  Flexcom > Data Inputs > UNIVERSAL >

#Include

Previous pageNext page

Purpose

NOTE: Use of #INCLUDE can result in very slow program performance. As a result of this it has been deprecated as of Flexcom 8.4 and it’s use is strongly discouraged. It will be removed in a future version of the software. The alternative is to use the FILE= option in keywords, where available.

To specify the name of an external keyword file to be included in the present keyword file.

#INCLUDE is typically used to simplify the specification of input data, and to reduce the complexity of the main keyword file. For example, vessel data (such as RAOs and auxiliary profile data) are typically consistent across all models/analyses which include the same vessel, so it makes sense to remove such data into external files, thus reducing the risk of any errors occurring in data input specification.

Theory

Refer to Keyword Editor for further information on this feature.

Keyword Format

A single line containing the name of the keyword file to be included.

#INCLUDE File Name

It should be noted that strictly speaking #INCLUDE is not a keyword – rather it is a directive which instructs Flexcom to insert the entire contents of an additional file at a specific location within a keyword file. Unlike standard keywords which only occur once within a single keyword file, #INCLUDE can occur at multiple locations, as many times as necessary. Given that the directive is universal – it can occur in any section of the keyword file (e.g. $MODEL, $LOAD CASE etc.), and is repeatable, it does not have any corresponding input in the table view.

File Name should be comprised of the name of the included file with its extension. It may optionally include the entire path of the file, if it is located in a different directory to the current keyword file. If the file name or any part of its path contains spaces then it should be enclosed in double quotation marks.