|
From: <cre...@us...> - 2006-05-20 01:13:45
|
Revision: 1382 Author: creecode Date: 2006-05-19 18:13:22 -0700 (Fri, 19 May 2006) ViewCVS: http://svn.sourceforge.net/frontierkernel/?rev=1382&view=rev Log Message: ----------- using new Frontier Version Control text outline format that preserves comments Modified Paths: -------------- ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/close.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/closeAll.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/new.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/open.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/openGuestDatabase.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/print.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/save.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/213D.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/25.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2727.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/282029.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2A.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2B.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2B2B.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2D.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2D2D.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2E.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2F.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3B.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3C.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3C3D.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3D.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3D3D.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3E.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3E3D.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/40.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/5B205D.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/5E.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/7B207D.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/for202E2E2E20in.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/get.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/inset.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/outset.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/random.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/set.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/required/openDocument.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/required/printDocument.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/required/quitApplication.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/countResTypes.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/countResources.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/deleteNamedResource.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/deleteResource.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNamedResource.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNthResInfo.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNthResType.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNthResource.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getResource.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getResourceAttributes.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getStringResource.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/namedResourceExists.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/putNamedResource.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/putResource.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/putStringResource.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/resourceExists.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/setResourceAttributes.fvc ODBs/trunk/docServerRoot/docServerData/formats/outline/searchEngine/stripMarkup.fvc Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/close.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/close.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/close.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -11,7 +11,7 @@ True if the window is found and closed, false otherwise. Examples adr = @scratchpad; edit (adr); fileMenu.close (adr) - true + // true Notes If the window address parameter is omitted, the target window will be closed. If you continue to use fileMenu.close (), eventually you'll close all of the windows, including the Frontier.root window. You will then have to use Open from the File menu to re-open Frontier.root before resuming. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/closeAll.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/closeAll.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/closeAll.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -10,7 +10,7 @@ Nothing (script execution halts when encountering this verb). Examples fileMenu.closeAll () - true + // true Notes Unlike Close from the File menu, closing the Frontier.root window with this verb will not automatically prompt the user to save changes - unsaved changes will be discarded. You can, of course, prompt the user from within your script before doing so. See Also Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/new.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/new.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/new.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -13,11 +13,11 @@ The address of the window containing the new object Examples fileMenu.new (scriptType) // creates a new file-based script object - @Untitled + // @Untitled fileMenu.new (tableType, hidden: true) // creates a new file-based table object in a hidden window - @["Untitled-2"] + // @["Untitled-2"] fileMenu.new ("System:Frontier:foo") // creates a new guest database file at the specified location - @["System:Frontier:foo"] + // @["System:Frontier:foo"] Notes Databases created with filemenu.new contain no system table, and are treated as guest databases of the current root file. The optional "hidden" parameter was added in Frontier 5.1.5. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/open.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/open.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/open.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -11,7 +11,7 @@ The address of the window containing the newly-opened object Examples fileMenu.open ("d:\\frontier\\members.root") - @["d:\\frontier\\members.root"] + // @["d:\\frontier\\members.root"] Notes This verb results in the same action as opening the file with the Open command from the File menu, except that it skips the dialog that asks the user to locate the desired file. See Also Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/openGuestDatabase.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/openGuestDatabase.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/openGuestDatabase.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -12,7 +12,7 @@ True if the file is open, false otherwise. Examples fileMenu.openGuestDatabase ("C:\\Program Files\\Radio Userland\\backups\\test.root", "testStuff", false) - true + // true Errors If a disk error occurs during this process, an error message is generated and the script terminates. Notes Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/print.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/print.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/print.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -11,10 +11,10 @@ Examples Open examples.letter. Type and execute: fileMenu.print () - true + // true Open two or three windows, one of which is system.verbs.builtins. Make sure that system.verbs.builtins is not the frontmost window. Now type and execute: target.set (@system.verbs.builtins); fileMenu.print (); target.clear () - true + // true The contents of the system.verbs.builtins window prints regardless of what window is frontmost, demonstrating that the fileMenu verbs operate on the target window, not necessarily the topmost window. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/save.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/save.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/fileMenu/save.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -10,7 +10,7 @@ True Examples fileMenu.save () - true + // true See Also fileMenu.open fileMenu.saveCopy Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/213D.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/213D.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/213D.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -9,20 +9,20 @@ True if they are not equal, false otherwise. Examples 6 notEquals 7 - true + // true 6 != 7 - true + // true 6 != 6 - false + // false local (x = 6, y = 6); x != y - false + // false local (x = 6); x notEquals 7 - true + // true Notes There is no difference between the two forms notEquals and !=. To set the value of an object, use the = sign. See Also equals -meta information +// meta information title != Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/25.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/25.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/25.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -6,15 +6,15 @@ The arithmetic modulus operator yields the remainder when dividing the value of expression1 by the value of expression2. Examples 10 % 4 - 2 + // 2 Four goes two times into 10, leaving a remainder of two. 10 % 4.0 - + // This statement generates an error; the modulus operator does not work on floating point values, since the result of floating point division is not truncated and thus has no remainder. long (clock.now () % 3600) - 2566 + // 2566 This expression yields the number of seconds into the current hour we are right now. Notes Only integral-compatible types - short, long, date, etc. - can be used in the modulus operation. @@ -26,6 +26,6 @@ * / mod -meta information +// meta information title % Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2727.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2727.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2727.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -6,20 +6,20 @@ Creates a string value containing the character sequence between the matching quotes. Examples "System:Frontier 1.0:" - System:Frontier 1.0: + // System:Frontier 1.0: File system paths are just string values. "clock.now ()" - clock.now () + // clock.now () Since clock.now () is within a pair of quotes, the verb is not called; it is just like any other character sequence, with no special behavior. - “He said "scripting is fun!"” - He said "scripting is fun!" + \xD2He said "scripting is fun!"\xD3 + // He said "scripting is fun!" This example illustrates how one style of quotes can be used to contain the other. Notes As shown in the last example, a string's characters can include the type of quotes that are not being used to enclose the characters; straight quotes can enclose curly quotes, and vice-versa. See Also string -meta information +// meta information title '' Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/282029.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/282029.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/282029.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -7,18 +7,18 @@ value returned by the script becomes the value of the script call expression. Examples clock.now () - 11/11/91; 7:51 PM + // 11/11/91; 7:51 PM Here we're calling the built-in verb clock.now; the result of the call is the value returned by the verb. Note that the parenthesis notation must be used to indicate that we are making a call to the verb, even though it takes no parameters. on addThree (n1, n2, n3) { return (n1 + n2 + n3)}; total = addThree (1, 2, 3) - 6 + // 6 This example illustrates the correspondence between the parameter list provided when calling a script and the parameter declaration in the script's defining "on" statement. Notes Forgetting to provide an empty pair of parentheses when no parameters are required is a common scripting error - watch for it. See Also on -meta information +// meta information title ( ) Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2A.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2A.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2A.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -6,11 +6,11 @@ The arithmetic multiplication operator yields the product of the values of expression1 and expression2. Examples 3 * 0.5 - 1.5 + // 1.5 The number 3 is "promoted" to a double, the type of 0.5, in order to perform the multiplication. "abc" * "def" - + // This statement generates an error; only numbers can be used as multiplication operands. Notes UserTalk employs automatic type coercion when evaluating arithmetic and comparative operations; the two expressions need not be of the same type to be multiplied together. Generally, the resulting type is the more complex type, the one that can most @@ -21,6 +21,6 @@ - / % -meta information +// meta information title * Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2B.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2B.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2B.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -6,15 +6,15 @@ The arithmetic addition operator yields the sum of the values of expression1 and expression2. Examples 1 + 1 - 2 + // 2 UserTalk can add one and one with great facility! "one" + "one" - oneone + // oneone The addition operator can be used to concatenate strings. 3 + "k bytes needed." - 3k bytes needed. + // 3k bytes needed. Notes UserTalk employs automatic type coercion when evaluating arithmetic and comparative operations; the two expressions need not be of the same type to be added together. Generally, the resulting type - which determines the method of addition - is the more complex type, the one that can most readily represent both values. @@ -23,6 +23,6 @@ * / % -meta information +// meta information title + Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2B2B.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2B2B.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2B2B.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -9,17 +9,17 @@ incremented; the increment operation takes place after the expression's value has been determined. Examples x = 3; ++x - 4 + // 4 Since x is "pre-incremented," its final value of 4 is the result of the expression. x = 3; x++ - 3 + // 3 In this case, x is "post-incremented," and the result of the expression is its value before 1 is added to it. Its value after the statement is executed is still 4. Notes Any type that supports addition can be used with the increment operator. See Also + -- -meta information +// meta information title ++ Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2D.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2D.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2D.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -6,15 +6,15 @@ The arithmetic subtraction operator yields the difference of the values of expression1 and expression2. Examples 3 - 0.5 - 2.5 + // 2.5 The number 3 is "promoted" to a double, the type of 0.5, in order to perform the subtraction. "workfile.backup" - ".backup" - workfile + // workfile The subtraction operator works with strings; the result is the removal of the first occurrence of the second string from the first string. "abc" - "def" - abc + // abc The second string does not appear in the first, so nothing is removed. Notes UserTalk employs automatic type coercion when evaluating arithmetic and comparative operations; the two expressions need not be of the same type to be subtracted. Generally, the resulting type - which determines the method of subtraction - is the more @@ -25,6 +25,6 @@ * / % -meta information +// meta information title - Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2D2D.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2D2D.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2D2D.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -9,17 +9,17 @@ decremented; the decrement operation takes place after the expression's value has been determined. Examples x = 3; --x - 2 + // 2 Since x is "pre-decremented," its final value of 2 is the result of the expression. x = 3; x-- - 3 + // 3 In this case, x is "post-decremented," and the result of the expression is its value before 1 is subtracted from it. Its value after the statement is executed is still 2. Notes Any type that supports subtraction can be used with the decrement operator. See Also - ++ -meta information +// meta information title -- Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2E.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2E.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2E.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -10,11 +10,11 @@ Assigns the numeric value 7 to the item named "x" in the table named "scratchpad." If "x" already exists, its previous value is replaced; it not, a new value is created. examples.age - 46 + // 46 Yields the value of the database cell named "age" in the "examples" table. sizeOf (people.[user.initials].notepad) - 65 + // 65 This example demonstrates the use of bracket notation inside a dotted id. First, the expression "user.initials" is evaluated. The resulting value is used to name an item in the "people" table, the one belonging to the current user. Finally, the item named "notepad" is referenced in the table specified by "people.[user.initials]." The result indicates that the outline contains 65 headings. Notes @@ -24,6 +24,6 @@ @ = [ ] -meta information +// meta information title . Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2F.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2F.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/2F.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -6,15 +6,15 @@ The arithmetic division operator yields the result of dividing the value of expression1 by the value of expression2. Examples 10 / 3 - 3 + // 3 The result of integer division is truncated. 10 / 3.0 - 3.3333 + // 3.3333 The number 10 is "promoted" to a double, the type of 3.0, in order to perform the division. long (clock.now () / 3600) - 770199 + // 770199 This expression yields the number of hours that have passed since midnight, Jan 1, 1904. Notes UserTalk employs automatic type coercion when evaluating arithmetic and comparative operations; the two expressions or the division operation need not be of the same type. Generally, the resulting type is the more complex type, the one that can most @@ -25,6 +25,6 @@ - * % -meta information +// meta information title / Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3B.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3B.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3B.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -17,6 +17,6 @@ Since the Quick Script window has no outline structure, if you enter a multiple-statement script there you must include semicolons. Some of the examples you see in the documentation assume that you are using the Quick Script window, and include semicolons. If you type these scripts into separate headings in a script window, the semicolons should be omitted. See Also { } -meta information +// meta information title ; Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3C.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3C.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3C.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -7,11 +7,11 @@ This comparison operator yields the boolean value true if the value of expression1 is less (smaller) than the value of expression2. Examples file.size ("myFile") < 1000000 - true + // true This expression evaluates to true if the file contains less than one million characters. "abd" < "azz" - true + // true Notes There is no difference between the two forms, < and lessthan. String comparison is carried out according to the ASCII sequence; this yields alphabetical results, but lowercase characters sort after all uppercase characters. That is, "A" < "Z" < "a" < "z". @@ -22,6 +22,6 @@ <= == != -meta information +// meta information title < Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3C3D.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3C3D.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3C3D.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -2,28 +2,28 @@ Syntax expression1 <= expression2 - expression1 ≤ expression2 + expression1 \xB2 expression2 Action This comparison operator yields the boolean value true if the value of expression1 is less (smaller) than or equal to the value of expression2. Examples file.size ("myFile") <= 1000000 - true + // true This expression evaluates to true if the file contains one million or fewer characters. - "abc" ≤ "abc" - true + "abc" \xB2 "abc" + // true The result is true, because the two expressions are equal. Notes - There is no difference between the two forms, <= and ≤. + There is no difference between the two forms, <= and \xB2. String comparison is done according to the ASCII sequence. This yields alphabetical results. Lowercase characters sort after all uppercase characters, that is, "A" < "Z" < "a" < "z". UserTalk employs automatic type coercion when evaluating arithmetic and comparative operations; the two expressions need not be of the same type to be compared. - The ≤ symbol can be entered at the keyboard with Option-< + The \xB2 symbol can be entered at the keyboard with Option-< See Also > >= < == != -meta information +// meta information title <= Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3D.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3D.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3D.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -7,16 +7,16 @@ Examples local (x); x = 3 * 4 - 12 + // 12 The assignment statement causes the value of the expression "3 * 4" to be stored in the local variable "x". scratchpad.when = clock.now () - 11/11/91; 7:36 PM + // 11/11/91; 7:36 PM In this case the expression "clock.now ()" yielded a date value, which was then assigned to the cell named "when" in the table named "scratchpad." (The "when" cell need not have already existed.) local (x); x = scratchpad.when - 11/11/91; 7:36 PM + // 11/11/91; 7:36 PM In this case, we copy a value out of the object database and store it in a local variable. Notes The identifier need not specify an existing database cell; the assignment statement will create an item with the given name in the specified table. If no table is specified, a new local variable is created in the code block where a local statement or a @@ -27,6 +27,6 @@ == db.get db.set -meta information +// meta information title = Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3D3D.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3D3D.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3D3D.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -7,11 +7,11 @@ The equality operator yields the boolean value true if the value of expression1 and the value of expression2 are the same. Examples file.type ("myFile") equals 'TEXT' - true + // true This expression evaluates to true if file.type returns 'TEXT' as its result. 27 == "27" - true + // true When coerced to be of the same type, the two representations of the number 27 are equal, and the result of the operation is true. Notes There is no difference between the two forms, == and equals. @@ -23,6 +23,6 @@ <= != = -meta information +// meta information title == Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3E.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3E.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3E.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -7,11 +7,11 @@ This comparison operator yields the boolean value true if the value of expression1 is greater (larger) than the value of expression2. Examples file.size ("myFile") > 1000000 - true + // true This expression evaluates to true if file.size returns a value larger than one million. "abdc" > "a" - true + // true Notes There is no difference between the two forms, < and greaterthan. String comparison is carried out according to the ASCII sequence; this yields alphabetical results, but lowercase characters sort after all uppercase characters, that is, "A" < "Z" < "a" < "z". @@ -22,6 +22,6 @@ <= == != -meta information +// meta information title > Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3E3D.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3E3D.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/3E3D.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -2,28 +2,28 @@ Syntax expression1 >= expression2 - expression1 ≥ expression2 + expression1 \xB3 expression2 Action This comparison operator yields the boolean value true if the value of expression1 is greater (larger) than or equal to the value of expression2. Examples file.size ("myFile") >= 1000000 - true + // true This expression evaluates to true if file.size returns a value larger than or equal to one million. - "abc" ≥ "abc" - true + "abc" \xB3 "abc" + // true The result is true, because the two expressions are equal. Notes - There is no difference between the two forms, <= and ≤. + There is no difference between the two forms, <= and \xB2. String comparison is carried out according to the ASCII sequence. This yields alphabetical results. Lowercase characters sort after all uppercase characters, that is, "A" < "Z" < "a" < "z". UserTalk employs automatic type coercion when evaluating arithmetic and comparative operations; the two expressions need not be of the same type to be compared. - The ≥ symbol can be entered at the keyboard with Option-> + The \xB3 symbol can be entered at the keyboard with Option-> See Also > < <= == != -meta information +// meta information title >= Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/40.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/40.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/40.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -7,9 +7,9 @@ takes the address of an object as a parameter can change the contents of that database location, while a script that takes an object's value as a parameter works only with a copy of that value. Examples local (name = ""); if dialog.ask ("What's your name?", @name) {return (name)} // The built-in verb dialog.ask takes the address of a string as its second parameter. When passed the address of the local variable "name," dialog.ask is able to change its value. - "creecode" + // "creecode" local (saying = "A bird in the hand is worth two in the bush"); string.countWords (saying) // In this case, the built-in verb string.countWords doesn't need to be able to change the original string; it just wants to work with its value. Therefore, we don't use the address operator. - 11 + // 11 local (adr = @workspace.notepad); if not defined (adr^) {new (outlineType, adr)} // This advanced example shows how the dereference operator works in tandem with the address operator. First, we put the address of the location where the user's notepad outline usually exists into the variable adr. We then check to see if the object at that address is defined - that is, if it actually exists. If not, we create an outline there using the new verb, which takes the database address as its second parameter. Notes Strings that name database cells can be coerced to addresses with the address verb. So the value of address ("system.verbs") is equal to @system.verbs. @@ -19,6 +19,6 @@ address local on -meta information +// meta information title @ Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/5B205D.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/5B205D.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/5B205D.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -12,30 +12,30 @@ index (a number) or by name (a string). For other value types, the item must be specified by index. The first item in an array has an index of one. Examples edit (@examples. ["Sample Outline 1"]) - true + // true Sample Outline 1 contains spaces, and would normally be interpreted as two identifiers followed by a number - a syntax error, since it's not a valid expression. So we enclose the name in quotes, which groups the entire sequence of characters into a single string value. The bracket operator then causes the string value to be treated as an identifier, allowing it to become part of the dotted id specifying the outline object. sizeOf (people.[user.initials].notepad) - 65 + // 65 This example demonstrates how the bracket operator allow you to substitute an expression for an identifier. First, the expression user.initials is evaluated. The resulting value is used to name an item in the "people" table, the one belonging to the current user. Finally, the item named "notepad" is referenced in the table specified by people.[user.initials]. The result indicates that the outline contains 65 headings. defined (["system.verbs"]) - false + // false At first this can seem puzzling; there is a table named verbs in the system table. However, that's not what this expression specifies. The string "system.verbs", enclosed in the brackets, is interpreted as a single identifier, so the expression specifies an object whose name is "system.verbs". No such object exists. When you want to interpret a string as a dotted path rather than an single identifier, use the address verb to coerce the value to an address. nameOf (examples [5]) - counter + // counter Here, we're using brackets as an array operation; note that there is no dot between examples and the first bracket. The simple expression "5" indicates the fifth item in the table. The nameOf operator returns the name of that item. x = {"Jan", "Feb", "Mar"}; return (x [2]) - "Feb" + // "Feb" x = "abcdef"; return (x [6]) - 'f' + // 'f' x = binary ("abcdef"); return (x [1]) - 97 + // 97 These examples show how you can use brackets to access an item in a list, a string, and a binary value respectively, treating the value as an array. The type of the item value depends on the type of the array value; an item in a string is a character, while an item in a binary value is an unsigned byte represented by an integer value. Notes @@ -53,6 +53,6 @@ sizeOf nameOf address -meta information +// meta information title [ ] Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/5E.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/5E.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/5E.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -7,7 +7,7 @@ Examples local (addr = @examples.age); x = addr^ - 46 + // 46 This simple example shows how the dereference operator extracts the value of the address, in this case the address of the "age" cell in the "examples" table. on triple (addrN) @@ -21,13 +21,13 @@ examples.age = triple (examples.age) typeOf (window.frontmost ()^) == tableType - true + // true Here, the value returned by window.frontmost - a string - is treated as a database address, and the type of the value at that address is compared to tableType. If the frontmost window contains a table, the result of the expression will be true. Notes The technique shown in the second example above is generally advisable only when working with large pieces of data that reside in the database, such as binary values, in which case memory overhead may be reduced. Otherwise, the simpler approach of example #3 is preferable. See Also @ -meta information +// meta information title ^ Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/7B207D.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/7B207D.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/7B207D.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -32,6 +32,6 @@ [ ] list record -meta information +// meta information title { } Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/for202E2E2E20in.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/for202E2E2E20in.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/operators/for202E2E2E20in.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -41,6 +41,6 @@ list break continue -meta information +// meta information title for ... in Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/get.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/get.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/get.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -13,7 +13,7 @@ scratchpad.rect = rectangle.set (15, 100, 185, 300); rectangle.get (scratchpad.rect, @t, @l @b, @r); msg ("Corners are: " + t +"," + l + " and " + b + "," + r) - true + // true Main Window displays "Corners are: 15,100 and 185,300". Notes This verb is useful for extracting information from rectangle values that might be sent into Frontier by an IAC-aware application. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/inset.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/inset.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/inset.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -12,7 +12,7 @@ The resulting rectangle Examples rectangle.inset (examples.windowat, 10, 10) - 20, 40, 100, 220 + // 20, 40, 100, 220 The rectangle starts out with values of 10, 30, 110, 230. See Also rectangle.outset Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/outset.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/outset.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/outset.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -12,7 +12,7 @@ The four coordinates of the new rectangle Examples rectangle.outset (examples.windowat, 10, 10) - 0, 20, 120, 240 + // 0, 20, 120, 240 The rectangle starts out with values of 10, 30, 110, 230. See Also rectangle.inset Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/random.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/random.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/random.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -10,7 +10,7 @@ The newly created rectangle Examples rectangle.random (10, 10, 500, 500) - 123, 184, 470, 445 + // 123, 184, 470, 445 Notes This verb is implemented as a script. The rectangle produced by this verb will be a valid, drawable object within the boundaries established by the parameters. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/set.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/set.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rectangle/set.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -12,7 +12,7 @@ scratchpad.rect = rectangle.set (15, 100, 185, 300); rectangle.get (scratchpad.rect, @t, @l @b, @r); msg ("Corners are: " + t +"," + l + " and " + b + "," + r) - true + // true Main Window displays "Corners are: 15,100 and 185,300". Notes This verb is useful for creating rectangle values for an IAC-aware application. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/required/openDocument.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/required/openDocument.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/required/openDocument.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -11,7 +11,7 @@ True if the document was found and opened, false if not. Examples required.openDocument ('BARC', "System:Data:New Chart") - true + // true Platform Notes This verb is only implemented in the Mac OS version of Frontier. Notes Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/required/printDocument.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/required/printDocument.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/required/printDocument.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -11,7 +11,7 @@ True if the document was found and printed, false if not. Examples required.printDocument ('BARC', "System:Data:New Chart") - true + // true Platform Notes This verb is only implemented in the Mac OS version of Frontier. Notes Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/required/quitApplication.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/required/quitApplication.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/required/quitApplication.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -10,7 +10,7 @@ True Examples required.quitApplication ('BARC') - true + // true Platform Notes This verb is only implemented in the Mac OS version of Frontier. Notes Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/countResTypes.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/countResTypes.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/countResTypes.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -11,7 +11,7 @@ The number of resource types in the file named in path. Examples rez.countResTypes ("System:ResEdit 2 .1.1") - 51 + // 51 Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/countResources.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/countResources.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/countResources.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -12,7 +12,7 @@ The number of resources of indicated type in the file at path. Examples rez.countResources ("System:System Folder:Finder", 'DLOG') - 3 + // 3 Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/deleteNamedResource.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/deleteNamedResource.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/deleteNamedResource.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -13,7 +13,7 @@ True if the file and resource are found and the resource is deleted, false otherwise Examples rez.deleteNamedResource ("System:Test File", 'curs', "Big Hand") - true + // true Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/deleteResource.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/deleteResource.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/deleteResource.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -13,7 +13,7 @@ True if the file and resource are found and the resource is deleted, false otherwise Examples rez.deleteResource ("System:Test File", 'curs', 46235) - true + // true Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNamedResource.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNamedResource.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNamedResource.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -14,7 +14,7 @@ True if a resource with the indicated name and type was found, false otherwise Examples rez.getNamedResource ("Frontier.root", 'DLOG', "personalize", @scratchpad.dlog) - true + // true Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNthResInfo.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNthResInfo.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNthResInfo.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -16,7 +16,7 @@ True if the resource was found, false otherwise Examples local (ID, name); rez.getNthResInfo ("System:System Folder:TeachText", 'DLOG', 2, @ID, @name) - true + // true Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNthResType.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNthResType.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNthResType.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -14,11 +14,11 @@ True if the resource type was found, false otherwise (for example, if n is greater than the number of resource types contained in the file at path. Examples rez.getNthResType ("frontier.root", 1, @type); return (type) - DLOG + // DLOG rez.getNthResType ("frontier.root", 3, @type); return (type) - TEXT + // TEXT rez.getNthResType ("frontier.root", (rez.countResTypes ("frontier.root")+1), @type) - false // There is no resource type at the indicated location, obviously! + // false // There is no resource type at the indicated location, obviously! Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNthResource.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNthResource.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getNthResource.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -16,7 +16,7 @@ True if the resource was found, false otherwise Examples local (name, data); rez.getNthResource ("System:System Folder:TeachText", 'DLOG', 2, @name, @data) - true + // true Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getResource.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getResource.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getResource.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -14,7 +14,7 @@ True if the indicated resource was found, false otherwise Examples rez.getResource ("Frontier.root", 'DLOG', 512, @scratchpad.dlog) - true + // true Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getResourceAttributes.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getResourceAttributes.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getResourceAttributes.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -13,10 +13,10 @@ A 16-bit number containing the resource attributes. Examples rez.getResourceAttributes ("System:TeachText", 'MENU', 1) - 4 + // 4 x = rez.getResourceAttributes ("System:TeachText", 'CODE', 0); bit.get (x, 5) // test resPurgeable bit - true + // true Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getStringResource.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getStringResource.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/getStringResource.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -13,7 +13,7 @@ True if the identified string resource was found, false otherwise Examples rez.getStringResource ("iconstealer", 130, @s); return (s) - system.deskscripts.iconstealer + // system.deskscripts.iconstealer Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/namedResourceExists.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/namedResourceExists.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/namedResourceExists.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -13,7 +13,7 @@ True if a resource with the indicated name and type was found, false otherwise Examples rez.namedResourceExists ("Frontier.root", 'DLOG', "personalize") - true + // true Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/putNamedResource.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/putNamedResource.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/putNamedResource.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -14,7 +14,7 @@ True Examples rez.putnamedresource ("System:tmp", 'TEXT', "User's Name", @user.name) - true + // true Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/putResource.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/putResource.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/putResource.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -16,7 +16,7 @@ True Examples rez.putResource ("System:tmp", 'TEXT', 128, @user.name) - true + // true Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/putStringResource.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/putStringResource.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/putStringResource.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -13,7 +13,7 @@ True Examples rez.putStringResource ("System:tmp", 512, "Oh the buzzing of the bees.") - true + // true Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/resourceExists.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/resourceExists.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/resourceExists.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -13,7 +13,7 @@ True if the indicated resource was found, false otherwise. Examples rez.resourceExists ("Frontier.root", 'DLOG', 512) - true + // true Platform Notes The file must exist before this verb is called or an error will be generated. This verb is only implemented in the Mac OS version of Frontier. Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/setResourceAttributes.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/setResourceAttributes.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/rez/setResourceAttributes.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -14,10 +14,10 @@ True Examples rez.setResourceAttributes ("System:TeachText", 'MENU', 1, 20) // locked, preload - true + // true x = bit.clear (0xff, 5); // all bits except purgable rez.setResourceAttributes ("System:TeachText", 'CODE', 1, x) // see Notes - true + // true Errors If the specified resource isn't found, an error is generated. Platform Notes Modified: ODBs/trunk/docServerRoot/docServerData/formats/outline/searchEngine/stripMarkup.fvc =================================================================== --- ODBs/trunk/docServerRoot/docServerData/formats/outline/searchEngine/stripMarkup.fvc 2006-05-20 01:09:34 UTC (rev 1381) +++ ODBs/trunk/docServerRoot/docServerData/formats/outline/searchEngine/stripMarkup.fvc 2006-05-20 01:13:22 UTC (rev 1382) @@ -10,6 +10,6 @@ A string, the original string minus markup. Examples searchEngine.stripMarkup ("<b>Hello World!</b>") - "Hello World! " + // "Hello World! " searchEngine.stripMarkup ("The time is: <i>{clock.now ()}</i>") - "The time is: " + // "The time is: " This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |