Debian Codegraph @

opcodes/ftexists.xml

raw symbols SCIP
1 <!--Change refentry id and indexterm id-->
2 <refentry id="ftexists">
3 <indexterm id="IndexFtexists"><primary>ftexists</primary></indexterm>
4 <!--Make sure the category below is a valid one! See categories.py-->
5 <refentryinfo><title>Table Control:Table Queries</title></refentryinfo>
6 <refmeta>
7 <refentrytitle>ftexists</refentrytitle>
8 </refmeta>
9
10 <refnamediv>
11 <refname>ftexists</refname>
12 <refpurpose>
13 Query if a given table exists
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>Plugin opcode in emugens.</para>
20 <para>
21 Returns 1 if a given index refers to an existing table,
22 0 if the table does not exist.
23 Works at i-time if output is an ivariable, at k-time otherwise
24 </para>
25 </refsect1>
26
27 <refsect1>
28 <title>Syntax</title>
29 <synopsis>iexists <command>ftexists</command> ifn </synopsis>
30 <synopsis>kexists <command>ftexists</command> kfn / ifn</synopsis>
31
32 </refsect1>
33
34 <refsect1>
35 <title>Arguments</title>
36 <para>
37 <emphasis>ifn / kfm</emphasis> - The table to query
38 </para>
39 </refsect1>
40
41 <refsect1>
42 <title>Output</title>
43 <!-- First list all input and output performance parameters-->
44 <para>
45 <emphasis>iexists / kexists</emphasis> - 1 if the table exists, 0 otherwise
46 </para>
47
48 </refsect1>
49 <refsect1>
50 <!--To add examples, create the csd file in the examples directory, then run:-->
51 <!--python csd2docbook.py -f newopcodename.csd-->
52 <!--to generate the xml highlighted version used below-->
53 <title>Examples</title>
54 <para>
55 Here is an example of the ftexists opcode. It uses the file <ulink url="examples/ftexists.csd"><citetitle>ftexists.csd</citetitle></ulink>.
56 <example>
57 <title>Example of the ftexists opcode.</title>
58 <xi:include href="examples-xml/ftexists.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
59 </example>
60 </para>
61 </refsect1>
62
63 <refsect1>
64 <title>See also</title>
65 <para><link linkend="TableQueries"><citetitle>Table Control:Table Queries</citetitle></link></para>
66 </refsect1>
67
68 <refsect1>
69 <!-- And put your name and other relevant information here-->
70 <title>Credits</title>
71 <para>By: &nameeduardo; 2019</para>
72 <para>New plugin in version 6.14</para>
73 </refsect1>
74
75 <!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
76 <!--Add the entity to manual.xml-->
77 <!--Add the entity reference in the appropriate place in opcodes/top.xml-->
78 <!--And you're set! Maybe delete the comments as well...-->
79
80 </refentry>