Skip to content

Commit 2be8976

Browse files
author
livecodesam
committed
[Dictionary] revAppVersion to revXMLEvaluatePath
1 parent 3bcf815 commit 2be8976

11 files changed

+72
-81
lines changed

docs/dictionary/command/revExecuteSQL.lcdoc

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ was opened.
3030

3131
SQLStatement (string):
3232
A string in Structured Query Language. (Do not include a semicolon at
33-
the end of the SQLStatement.) >*Note:* Some database systems, such as
34-
Oracle, are capable of handling a multiple-line SQL statement.
33+
the end of the SQLStatement.)
34+
> *Note:* Some database systems, such as
35+
> Oracle, are capable of handling a multiple-line SQL statement.
3536

3637
variablesList:
3738
The variablesList consists of one or more variable names (or expressions
@@ -41,9 +42,10 @@ name may also be the name of an array element, for example
4142

4243
arrayName (array):
4344
The name of a single array variable whose keys are sequential
44-
numbers.>*Note:* The variable names or arrayName must be enclosed in
45-
quotes; otherwise, the variable's value rather than its name is passed
46-
to the revExecuteSQL command.
45+
numbers.
46+
> *Note:* The variable names or arrayName must be enclosed in
47+
> quotes; otherwise, the variable's value rather than its name is passed
48+
> to the revExecuteSQL command.
4749

4850

4951
The result:
@@ -66,8 +68,7 @@ each of these placeholders. For example, if you have two
6668
<variable|variables> called "valueX" and "valueY", you can use a
6769
<SQLStatement> that includes placeholders as follows:
6870

69-
revExecuteSQL myID, "insert into mytable values(:1,:2,:1)", "valueX"
70-
,"valueY"
71+
revExecuteSQL myID, "insert into mytable values(:1,:2,:1)", "valueX","valueY"
7172

7273
The content of the variable valueX is substituted for the ":1" in the
7374
SQLQuery (in both places where ":1" appears), and the content of valueY
@@ -78,17 +79,16 @@ is substituted for ":2".
7879
> syntax error to be returned by the database because a placeholder is
7980
> being used to represent a column name (:1).
8081

81-
-- Invalid, will cause SQL syntax error
82-
revExecuteSQL myID,
83-
"insert into mytable(:1, name, date) values (:2, :3, :2)",
84-
"tColumnName", "tValueX", "tValueY"
82+
-- Invalid, will cause SQL syntax error
83+
revExecuteSQL myID,
84+
"insert into mytable(:1, name, date) values (:2, :3, :2)", "tColumnName", "tValueX", "tValueY"
8585

8686
If you specify an <arrayName> rather than a list of ordinary
8787
<variable|variables>, the <revExecuteSQL> <command> substitutes the
8888
corresponding <element> of the <array> for each of the placeholders in
8989
the query:
9090

91-
revExecuteSQL myID,"insert into mytable values(:1,:2,:1)","myArray"
91+
revExecuteSQL myID,"insert into mytable values(:1,:2,:1)","myArray"
9292

9393
The content of the element myArray[1] is substituted for the ":1" in the
9494
SQLQuery (in both places where ":1" appears), and the content of

docs/dictionary/command/revInitializeVideoGrabber.lcdoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ To use <VFW|Video for Windows> (on <Windows|Windows systems>), specify
5959
"VFW".
6060

6161
To close the window and unload the video capture code, you should use
62-
the <revCloseVideoGrabber> <command> when you're done with <video
63-
capture>.
62+
the <revCloseVideoGrabber> <command> when you're done with
63+
<video capture>.
6464

6565
>*Important:* The <revInitializeVideoGrabber> <command> is part of the
6666
> <Video library>. To ensure that the <command> works in a
@@ -87,9 +87,9 @@ revStopPreviewingVideo (command), stack window (glossary),
8787
video capture (glossary), Windows (glossary), VFW (glossary),
8888
Standalone Application Settings (glossary), video grabber (glossary),
8989
standalone application (glossary), function (glossary),
90-
command (glossary), LiveCode custom library (glossary), file (keyword),
91-
Video library (library), properties (property), dontUseQT (property),
92-
dontUseQTEffects (property)
90+
command (glossary), LiveCode custom library (glossary),
91+
QuickTime (glossary), file (keyword), Video library (library),
92+
properties (property), dontUseQT (property), dontUseQTEffects (property)
9393

9494
Tags: multimedia
9595

docs/dictionary/command/revMail.lcdoc

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,18 @@ messageBody (string):
4242
This text appears in the 'body' of the email message.
4343

4444
The result:
45-
On return on iOS, the result is set to one of:. On return on Android,
46-
the result is set to:. * unknown - On Android the email activity does
47-
not return its status back to the calling activity so the result is set
48-
to 'unknown' in all cases.
45+
On return on iOS, the result is set to one of:
46+
* not configured - if the user has turned off or has not setup mail
47+
access on their device
48+
* cancel - if the user chooses to cancel the send
49+
* saved - if the user chose to save the message in drafts
50+
* sent - if the user elected to send the email
51+
* failed - if sending the email was attempted, but it failed
52+
53+
On return on Android, the result is set to:
54+
* unknown - On Android the email activity does not return its status
55+
back to the calling activity so the result is set to 'unknown' in all
56+
cases.
4957

5058
Description:
5159
Use the <revMail> <command> to create an email message from within a
@@ -54,8 +62,8 @@ Use the <revMail> <command> to create an email message from within a
5462
When LiveCode executes the <revMail> <command>, the user's email program
5563
is opened (if necessary) and a new email message with the specified
5664
<parameter|parameters> is created. The user can change any of the
57-
settings before sending the message, and the message is not sent
58-
automatically: the user must explicitly send it (for example, by
65+
settings before sending the message, and the message is not
66+
sent automatically: the user must explicitly send it (for example, by
5967
clicking a 'Mail' button in the email program).
6068

6169
On Mac OS systems, the mail message is opened in the application the
@@ -64,14 +72,6 @@ user has set for the 'mailto:' protocol in the Internet control panel
6472

6573
On iOS, <revMail> hooks into the iOS MessageUI framework.
6674

67-
* not configured - if the user has turned off or has not setup mail
68-
access on their device
69-
* cancel - if the user chooses to cancel the send
70-
* saved - if the user chose to save the message in drafts
71-
* sent - if the user elected to send the email
72-
* failed - if sending the email was attempted, but it failed
73-
74-
7575
>*Important:* On <Mac OS|Mac OS systems>, the <revMail> <command>
7676
> requires that AppleScript be installed and that the GURL <Apple Event>
7777
> be supported. GURL support is included in <Mac OS> 8.5 or later, and
@@ -86,9 +86,9 @@ For some older email programs, it may not be possible to specify a
8686
<command> still works with such programs, but only the 'To:' header is
8787
set.
8888

89-
>*Note:* When included in a <standalone application>, the <Common
90-
> library> is implemented as a hidden <group> and made available when
91-
> the <group> receives its first <openBackground> message. During the
89+
>*Note:* When included in a <standalone application>, the
90+
> <Common library> is implemented as a hidden <group> and made available
91+
> when the <group> receives its first <openBackground> message. During the
9292
> first part of the <application|application's> startup process, before
9393
> this <message> is sent, the <revMail> <command> is not yet available.
9494
> This may affect attempts to use this <command> in <startup>,
@@ -107,10 +107,9 @@ mobileComposeHtmlMail (command), parameter (glossary),
107107
main stack (glossary), handler (glossary), message (glossary),
108108
group (glossary), Mac OS (glossary), standalone application (glossary),
109109
Apple Event (glossary), command (glossary), application (glossary),
110-
file (keyword), revMail (library), Common library (library),
111-
library (library), startup (message), openBackground (message),
112-
preOpenStack (message), openStack (message), preOpenCard (message),
113-
stack (object)
110+
file (keyword), Common library (library), library (library),
111+
startup (message), openBackground (message), preOpenStack (message),
112+
openStack (message), preOpenCard (message), stack (object)
114113

115114
Tags: networking
116115

docs/dictionary/command/revPrintReport.lcdoc

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ Type: command
55
Syntax: revPrintReport
66

77
Summary:
8-
Prints a report from the <report viewer|report viewers> on the
9-
<current card>.
8+
Prints a report from the report viewers on the <current card>.
109

1110
Introduced: 2.0
1211

@@ -21,22 +20,21 @@ revPrintReport
2120

2221
Description:
2322
Use the <revPrintReport> <command> to print a report that you have set
24-
up in the <Report Builder>.
23+
up in the Report Builder.
2524

26-
>*Note:* The <Report Builder> stack is no-longer supported but can
27-
> still
28-
> be used by manually launching the tool.
25+
>*Note:* The Report Builder stack is no-longer supported but can
26+
> still be used by manually launching the tool.
2927

30-
When you use the <Report Builder> to create a set of report settings,
28+
When you use the Report Builder to create a set of report settings,
3129
the settings are stored with the card. The <revPrintReport> <command>
32-
uses the settings specified in the <Report Builder> for the
30+
uses the settings specified in the Report Builder for the
3331
<current card> to print the report. If you have never used the
34-
<Report Builder> with the <current card> (and therefore there are no
32+
Report Builder with the <current card> (and therefore there are no
3533
report settings to use), the <revPrintReport> <command> causes a
3634
<error|script error>.
3735

3836
The <revPrintReport> <command> is equivalent to clicking "Print Report"
39-
in the <Report Builder>.
37+
in the Report Builder.
4038

4139
>*Important:* The <revPrintReport> <command> is part of the
4240
> <Printing library>. To ensure that the <command> works in a

docs/dictionary/command/revShowPrintDialog.lcdoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,11 @@ printing options only for the currently <execute|executing> <handler>.
7676

7777
References: answer printer (command), revPrintText (command),
7878
group (command), revPrintField (command), answer page setup (command),
79-
application (glossary), standalone application (glossary),
80-
dialog box (glossary), execute (glossary), command (glossary),
81-
Windows (glossary), main stack (glossary), OS X (glossary),
82-
result (glossary), Standalone Application Settings (glossary),
79+
result (function), application (glossary),
80+
standalone application (glossary), dialog box (glossary),
81+
execute (glossary), command (glossary), Windows (glossary),
82+
main stack (glossary), OS X (glossary),
83+
Standalone Application Settings (glossary),
8384
Mac OS (glossary), message (glossary), parameter (glossary),
8485
handler (glossary), LiveCode custom library (glossary),
8586
Printing library (library), startup (message), openBackground (message),

docs/dictionary/function/revAppVersion.lcdoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ The <revAppVersion> <function> is different from the <version>
3131
<function>. The <revAppVersion> function returns the version of the
3232
<development environment>, while the <version> <function> returns the
3333
version of the underlying <engine>. For example, the contents of the
34-
LiveCode menu bar, the <LiveCode custom libraries>, and the <property
35-
inspector> depend on the <revAppVersion>, but the features of the
36-
<LiveCode> language depend on the <engine> <version>.
34+
LiveCode menu bar, the
35+
<LiveCode custom library|LiveCode custom libraries>, and the
36+
<property inspector> depend on the <revAppVersion>, but the features of
37+
the <LiveCode> language depend on the <engine> <version>.
3738

3839
>*Note:* In a standalone application the <Common library> is implemented
3940
> as a hidden <group> and made available when the <group> receives its
@@ -51,7 +52,7 @@ libURLVersion (function), buildNumber (function), LiveCode (glossary),
5152
return (glossary), main stack (glossary), handler (glossary),
5253
engine (glossary), development environment (glossary), group (glossary),
5354
message (glossary), application (glossary), property inspector (glossary),
54-
LiveCode custom libraries (glossary), string (keyword),
55+
LiveCode custom library (glossary), string (keyword),
5556
Common library (library), library (library), startup (message),
5657
openBackground (message), preOpenStack (message), openStack (message),
5758
preOpenCard (message)

docs/dictionary/function/revBrowserGet.lcdoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,15 @@ Use the <revBrowserGet> function to obtain information about the browser
101101
object specified by the <instanceId> by returning the value of one of
102102
the browser properties.
103103

104-
>*Note:* The "advanced" callback messages are: <revBrowserClick>,
105-
> <revBrowserOver> and <revBrowserOut>. These messages are only sent
104+
>*Note:* The "advanced" callback messages are: <browserClick>,
105+
> <browserOver> and <browserOut>. These messages are only sent
106106
> when the "messages" property is set to true. Other callback messages
107107
> are always sent.
108108

109109
>*Note:* For general information on using the browser library, see the
110110
> notes in the <revBrowserOpen> <function> reference.
111111

112112
References: revBrowserSet (command), revBrowserOpen (function), function (glossary),
113-
revBrowserOver (message), revBrowserOut (message),
114-
revBrowserClick (message)
113+
browserOver (message), browserOut (message),
114+
browserClick (message)
115115

docs/dictionary/function/revBrowserInstances.lcdoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ The <revBrowserInstances> function returns a comma-delimited list of
2727
integer browser ids, or empty if no browsers are open.
2828

2929
Description:
30-
none
31-
3230
Use the <revBrowserInstances> function to obtain a list of the ids of
3331
all the open browser objects.
3432

docs/dictionary/function/revXMLCreateTreeWithNamespaces.lcdoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ sendMessages (bool):
3939

4040
Returns:
4141
The <revXMLCreateTreeWithNamespaces> <function(control structure)>
42-
returns a tree ID which can be used to refer to the tree in other <XML
43-
library> <command|commands> and <function(glossary)|functions>. The tree
44-
ID is always a positive <integer>. (If the <createTree> is false, the
45-
<function(control structure)> <return|returns> zero.) If the function
42+
returns a tree ID which can be used to refer to the tree in other
43+
<XML library> <command|commands> and <function(glossary)|functions>. The
44+
tree ID is always a positive <integer>. (If the <createTree> is false,
45+
the <function(control structure)> <return|returns> zero.) If the function
4646
encounters an error while parsing the data, it returns an error message
4747
beginning with "xmlerr".
4848

@@ -90,7 +90,7 @@ revXMLAppend (command), function (control structure),
9090
revXMLValidateDTD (function), revXMLTrees (function),
9191
revXMLCreateTree (function),
9292
revXMLCreateTreeFromFileWithNamespaces (function),
93-
LiveCode custom library (glossary), return (glossary),
93+
LiveCode custom library (glossary), return (glossary), string (glossary),
9494
XML tree (glossary), Standalone Application Settings (glossary),
9595
message (glossary), standalone application (glossary), XML (glossary),
9696
function (glossary), command (glossary), integer (keyword),

docs/dictionary/function/revXMLDataFromXPathQuery.lcdoc

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ functions. The charDelimiter and lineDelimiter both default to cr. If
1010
neither is specified then the items will be returned one per line.
1111
For example:
1212

13-
J. K. Rowling
14-
15-
Harry Potter
16-
17-
Cory Doctorow
18-
19-
Little Brother
13+
J. K. Rowling
14+
Harry Potter
15+
Cory Doctorow
16+
Little Brother
2017

2118
Introduced: 6.5
2219

0 commit comments

Comments
 (0)