visual3d:documentation:pipeline:expressions:reserved_characters
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:expressions:reserved_characters [2024/06/19 12:49] – sgranger | visual3d:documentation:pipeline:expressions:reserved_characters [2025/06/20 19:00] (current) – Cleaned up page. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | reserved characters in expressions | + | ====== Reserved Characters ====== |
- | ===== contents ===== | + | Several characters are reserved in the syntax for [[visual3d: |
+ | ===== Ampersand ===== | ||
+ | < | ||
- | * [[#amp|1 amp]] | + | For example, if the desired pipeline command were as follows: |
- | * [[#colon|2 colon]] | + | |
- | * [[# | + | |
- | * [[#plus|4 plus]] | + | |
- | * [[#fslash|5 fslash]] | + | |
- | * [[#space|6 space]] | + | |
+ | < | ||
+ | Select_Active_File | ||
+ | / | ||
+ | /QUERY= TAG1 & TAG2 | ||
+ | ; | ||
+ | </ | ||
- | ===== amp ===== | + | If the tags TAG1 and TAG2 exist then all files that have been assigned both tags will be active. If, however, we want to use pipeline parameters in place of the text TAG1 and TAG2, we have a problem because there is no way to stop Visual3D from using the & character to concatenate the text. The solution was to introduce a reserved parameter :: |
- | amp = & | + | < |
+ | Set_Pipeline_Parameter | ||
+ | / | ||
+ | / | ||
+ | ; | ||
- | for example, if the desired pipeline command were as follows: | + | Set_Pipeline_Parameter |
+ | / | ||
+ | / | ||
+ | ; | ||
- | **select_active_file** | + | Select_Active_File |
- | /file_name=all_files | + | /FILE_NAME=ALL_FILES |
- | /query= tag1 & tag2 | + | /QUERY= ::A&:: |
- | **;** | + | ; |
- | if the tags tag1 and tag2 exist then all files that have been assigned both tags will be active. | + | </ |
- | if, however, we want to use pipeline parameters | + | and this would result |
- | the following pipeline would result | + | ===== Colon ===== |
- | set_pipeline_parameter | + | < |
- | **set_pipeline_parameter** | + | The ":" character is used through the pipeline and expression syntax, notably when specify |
- | / | + | |
- | / | + | |
- | **;** | + | |
- | **set_pipeline_parameter** | + | |
- | / | + | |
- | / | + | |
- | **;** | + | |
- | **select_active_file** | + | |
- | **/ | + | |
- | **/ | + | |
- | **;** | + | |
- | this would result | + | |
- | /query=tag1 & tag2 | + | ===== Semicolon ===== |
- | for more: [[https:// | + | |
- | ===== colon ===== | + | < |
- | colon = : | + | The ";" |
- | ===== semicolon | + | ===== Plus Sign ===== |
- | semicolon | + | < |
- | ===== plus ===== | + | The " |
- | plus = + | + | ===== Forward Slash ===== |
- | ===== fslash ===== | + | < |
- | fslash = / | + | The "/" character is parsed to indicate the beginning of a pipeline command parameter. |
- | ===== space ===== | + | ===== Space Character |
- | + | ||
- | space=" | + | |
+ | < | ||
+ | The parser ignores space characters by default. | ||
visual3d/documentation/pipeline/expressions/reserved_characters.1718801399.txt.gz · Last modified: 2024/06/19 12:49 by sgranger