Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Advanced search

CASL Parser Requires Double Backslash for Absolute Path

Last updated: 2020-04-22

Why do I get an error message Invalid file name and fail when trying to save for example a file with CASL to a location outside my project directory?


As opposed to the Windows path specification, the CASL parser expects a double backslash \\ for absolute paths. Example:

MergeMeasurementFiles("Output.mdf", 1, 0, 0, "C:\\temp\\*.mdf");

CANape syntax help:

If a backslash in the program code is entered directly, it must be entered twice. A single backslash inside a string in the code is interpreted as the initiation of an escape sequence, e.g. \n for a line break or \t for a TAB character.

Article Options
Views: 44