This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
jvs:fscan:manual:chapter2:tablequery [2014/03/24 15:49] voyvodic created |
jvs:fscan:manual:chapter2:tablequery [2023/02/23 18:43] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
**fScan Reference Manual, Chapter 2 (CmdLineOptions): | **fScan Reference Manual, Chapter 2 (CmdLineOptions): | ||
- | ===== Table query -- ===== | + | ===== Table query -- Performing a table query===== |
- | **usage: -table [file] TABLENAME | + | **Usage:** -table |
+ | |||
+ | NEWNAME is where to store the results if FLAG & 3, or if NEWNAME is not a column name in TBLNAME. | ||
+ | |||
+ | COL can be a column index number (1-NCols) or a column name. | ||
+ | (To find column index from column name, use FLAG 16.) | ||
+ | |||
+ | VALUE1 is the value to search for in COL, or if FLAG&4 VALUE1 is the index number (1-NRows) of the row to return. Note: you can also find the value for a single table cell using the syntax " | ||
+ | If VALUE1 is omitted and !FLAG& | ||
+ | |||
+ | VALUE2: if FLAG& | ||
+ | |||
+ | FLAG: Option flags (combine by adding): | ||
+ | * 1 - store into uservarb NEWNAME\\ | ||
+ | * 2 - store into table NEWNAME\\ | ||
+ | * 4 - VALUE1 is a row number\\ | ||
+ | * 8 - only return row number(s)\\ | ||
+ | * 16 - only return column number\\ | ||
+ | * 32 - only find first instance\\ | ||
+ | * 64 - VALUE2 is a binary mask to use for COL value\\ | ||
+ | * 128 - inverse query; search for COL values that don't match; this is automatic if VALUE1 is preceded by ' | ||
+ | * 256 - don't display error message on query failure\\ | ||
+ | * 512 - find COL with missing value (assumed if VALUE1 = ' | ||
+ | * 1024 - do not convert ' | ||
**See Also:**\\ | **See Also:**\\ |