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/17 18:18] – created sgranger | visual3d:documentation:pipeline:expressions:reserved_characters [2025/06/20 19:00] (current) – Cleaned up page. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Reserved Characters | + | ====== |
- | ===== Contents ===== | + | Several characters are reserved in the syntax for [[visual3d: |
+ | ===== 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: | ||
- | /QUERY=TAG1 & TAG2 | + | ===== Colon ===== |
- | For more: [[https:// | + | |
- | ===== COLON ===== | + | < |
- | COLON = : | + | The ":" character is used through the pipeline and expression syntax, notably when specify a [[visual3d: |
- | ===== SEMICOLON | + | ===== Semicolon |
- | SEMICOLON = ; | + | < |
- | ===== PLUS ===== | + | The ";" |
- | PLUS = + | + | ===== Plus Sign ===== |
- | ===== FSLASH ===== | + | < |
- | FSLASH = / | + | The " |
- | ===== SPACE ===== | + | ===== Forward Slash ===== |
- | SPACE=" " | + | < |
+ | The "/" | ||
+ | ===== Space Character ===== | ||
+ | < | ||
+ | The parser ignores space characters by default. | ||
visual3d/documentation/pipeline/expressions/reserved_characters.1718648334.txt.gz · Last modified: 2024/06/17 18:18 by sgranger