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/07/12 14:02] – created sgranger | visual3d:documentation:pipeline:expressions:reserved_characters [2025/06/20 19:00] (current) – Cleaned up page. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | Reserved Characters | + | Several characters are reserved |
- | ==== Contents | + | ===== Ampersand ===== |
- | + | < | |
- | + | ||
- | * [[#AMP|1 AMP]] | + | |
- | * [[#COLON|2 COLON]] | + | |
- | * [[# | + | |
- | * [[#PLUS|4 PLUS]] | + | |
- | * [[#FSLASH|5 FSLASH]] | + | |
- | * [[#SPACE|6 SPACE]] | + | |
- | + | ||
- | + | ||
- | ==== AMP ==== | + | |
- | + | ||
- | AMP = & | + | |
For example, if the desired pipeline command were as follows: | For example, if the desired pipeline command were as follows: | ||
- | **Select_Active_File** | + | < |
+ | Select_Active_File | ||
/ | / | ||
/QUERY= TAG1 & TAG2 | /QUERY= TAG1 & TAG2 | ||
- | **;** | + | ; |
- | 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 :: | + | If the tags TAG1 and TAG2 exist then all files that have been assigned both tags will be active. |
- | + | ||
- | The following pipeline would result | + | |
+ | < | ||
Set_Pipeline_Parameter | Set_Pipeline_Parameter | ||
- | |||
- | **Set_Pipeline_Parameter** | ||
/ | / | ||
/ | / | ||
- | **;** | + | ; |
- | **Set_Pipeline_Parameter** | + | |
+ | Set_Pipeline_Parameter | ||
/ | / | ||
/ | / | ||
- | **;** | + | ; |
- | **Select_Active_File** | + | |
- | **/ | + | Select_Active_File |
- | **/ | + | / |
- | **;** | + | / |
- | This would result in Visual3D interpreting the query | + | ; |
+ | </ | ||
+ | |||
+ | and this would result in Visual3D interpreting the query: /QUERY=TAG1 & TAG2. More examples of using the AMP operator can be found [[visual3d: | ||
+ | |||
+ | ===== Colon ===== | ||
+ | |||
+ | < | ||
- | /QUERY=TAG1 & TAG2 | + | The ":" character is used through the pipeline and expression syntax, notably when specify a [[visual3d:documentation:pipeline: |
- | For more: [[https:// | + | |
- | ==== COLON ==== | + | ===== Semicolon ===== |
- | COLON = : | + | < |
- | ==== SEMICOLON ==== | + | The ";" |
- | SEMICOLON | + | ===== Plus Sign ===== |
- | ==== PLUS ==== | + | < |
- | PLUS = + | + | The "+" character is parsed to indicate concatenation of list items. |
- | ==== FSLASH | + | ===== Forward Slash ===== |
- | FSLASH = / | + | < |
- | ==== SPACE ==== | + | The "/" |
- | SPACE=" " | + | ===== Space Character ===== |
+ | < | ||
+ | The parser ignores space characters by default. | ||
visual3d/documentation/pipeline/expressions/reserved_characters.1720792976.txt.gz · Last modified: 2024/07/12 14:02 by sgranger