diff --git a/sources/dv_foxhelp/html/00312970-64d1-4f0f-a539-9687382bdcd9.htm b/sources/dv_foxhelp/html/00312970-64d1-4f0f-a539-9687382bdcd9.htm index e3ab643..55328bc 100644 --- a/sources/dv_foxhelp/html/00312970-64d1-4f0f-a539-9687382bdcd9.htm +++ b/sources/dv_foxhelp/html/00312970-64d1-4f0f-a539-9687382bdcd9.htm @@ -1,4 +1,4 @@ - + @@ -74,7 +74,7 @@ - See Also  + See Also  Example @@ -91,7 +91,7 @@   +   @@ -137,7 +137,7 @@

The following example creates two databases named mydbc1 and mydbc2, and a table named table1. The table is added to mydbc1 when it is created. The table is then closed and removed from mydbc1. ADD TABLE is then used to add the table to mydbc2. RENAME TABLE is used to change the name of the table from table1 to table2.

-
@@ -113,16 +113,20 @@ ALTER TABLE TableName1 ALTER [COLUMN] FieldName2 [NULL | NOT NULL] [SET DEFAULT eExpression2] [SET CHECK lExpression2 [ERROR cMessageText2]] [ DROP DEFAULT ] [ DROP CHECK ] [ NOVALIDATE ]
 CopyCode imageCopy Code
CREATE DATABASE mydbc1
+    
 CopyCode imageCopy Code
CREATE DATABASE mydbc1
 CREATE DATABASE mydbc2
 SET DATABASE TO mydbc1
 CREATE TABLE table1 (cField1 C(10), n N(10))  && Adds table to mydbc1
diff --git a/sources/dv_foxhelp/html/07215de2-1394-4856-9ba2-595c62b7a7c7.htm b/sources/dv_foxhelp/html/07215de2-1394-4856-9ba2-595c62b7a7c7.htm
index e556bd3..84fb9bc 100644
--- a/sources/dv_foxhelp/html/07215de2-1394-4856-9ba2-595c62b7a7c7.htm
+++ b/sources/dv_foxhelp/html/07215de2-1394-4856-9ba2-595c62b7a7c7.htm
@@ -118,7 +118,9 @@
         
cDelimiters
-

Optional. Specifies one or more optional characters used to separate words in cString. The default delimiters are space, tab, carriage return, and line feed. Note that GetWordNum( ) uses each of the characters in cDelimiters as individual delimiters, not the entire string as a single delimiter.

+

Optional. Specifies one or more optional characters used to separate words in cString. The default delimiters are space, tab, and line feed.

+

Note that GetWordNum( ) uses each of the characters in cDelimiters as individual delimiters, not the entire string as a single delimiter.

+

Note, that carriage return is not a default delimiter.

Expand imageReturn Value

diff --git a/sources/dv_foxhelp/html/11fd4c12-260a-4937-b389-ed0667429d6b.htm b/sources/dv_foxhelp/html/11fd4c12-260a-4937-b389-ed0667429d6b.htm index 01eabca..04f2424 100644 --- a/sources/dv_foxhelp/html/11fd4c12-260a-4937-b389-ed0667429d6b.htm +++ b/sources/dv_foxhelp/html/11fd4c12-260a-4937-b389-ed0667429d6b.htm @@ -106,19 +106,21 @@

Opens a .vcx visual class library containing class definitions.

 SET CLASSLIB TO ClassLibraryName [IN APPFileName | EXEFileName]
-   [ADDITIVE] [ALIAS AliasName]

Parameters

+ [ALIAS AliasName] [ADDITIVE]

Parameters

TO ClassLibraryName

Specifies the name of the .vcx visual class library to open. If ClassLibraryName does not include a fully qualified path, Visual FoxPro first searches for the visual class library in the default Visual FoxPro directory, and then in the directories in the Visual FoxPro path. The default Visual FoxPro directory is specified with SET DEFAULT, and the Visual FoxPro search path is specified with SET PATH.

Issuing SET CLASSLIB TO without ClassLibraryName closes all open visual class libraries. Use RELEASE CLASSLIB to close an individual visual class library.

IN APPFileName| EXEFileName

Specifies a Visual FoxPro application file (.app) or executable file (.exe) containing the visual class library.

-
ADDITIVE
-

Opens the .vcx visual class library without closing any currently open .vcx visual class libraries. If this clause is omitted, all open .vcx visual class libraries are closed.

+
ALIAS AliasName

Specifies an alias for the visual class library. The visual class library can be referenced by its alias. For example, the following commands open a .vcx visual class library named MyClass, assign it the alias MyCntrls, and then create a control named MyButton.

-
 CopyCode imageCopy Code
SET CLASSLIB TO MyClass ALIAS MyCntrls
+          
 CopyCode imageCopy Code
+
SET CLASSLIB TO MyClass ALIAS MyCntrls
 mMyButton = CREATEOBJ('MyCntrls.MyButton')
+
ADDITIVE
+

Opens the .vcx visual class library without closing any currently open .vcx visual class libraries. If this clause is omitted, all open .vcx visual class libraries are closed.

Expand imageRemarks

diff --git a/sources/dv_foxhelp/html/1876ad8e-9c6a-4310-962d-800591a10c3d.htm b/sources/dv_foxhelp/html/1876ad8e-9c6a-4310-962d-800591a10c3d.htm index 162ccdc..b5421ba 100644 --- a/sources/dv_foxhelp/html/1876ad8e-9c6a-4310-962d-800591a10c3d.htm +++ b/sources/dv_foxhelp/html/1876ad8e-9c6a-4310-962d-800591a10c3d.htm @@ -115,6 +115,15 @@ tExpression

Specifies a DateTime-type variable, array element, or field for which DTOC( ) returns a Character-type date.

+ +
No second parameter
+

Returns dExpression as a character string in a (general) date format respecting the SET commands dealing with date, just like the output of ?DATE().

+

For more information, see + SET CENTURY, + SET DATE, + SET MARK TO, + SET SYSFORMATS.

+
1

Returns the date in a format suitable for indexing. This is particularly useful for maintaining the table records in chronological sequence.

For example, to order table records in entry sequence, you could issue this command:

@@ -131,27 +140,51 @@

Expand imageExample

Expand imageSee Also

-

Expand imageExample

Expand imageSee + Also

Specifies a DateTime expression to convert into a character string.

If tExpression contains only a time, Visual FoxPro adds the default date of 12/30/1899 to tExpression. If tExpression contains only a date, Visual FoxPro adds a default time of 12:00:00 AM (if SET HOURS is 12) or 00:00:00 (if SET HOURS is 24) to tExpression to produce a valid DateTime value.

+
No second parameter
+

Returns tExpression as a character string in a (general) date format respecting the SET commands dealing with date and time, just like the output of ?DATETIME().

+

For more information, see + SET CENTURY, + SET DATE, + SET HOURS, + SET MARK TO, + SET SECONDS and + SET SYSFORMATS.

1
-

Returns tExpression as a character string in a format suitable for indexing. The character string returned has a 14-character format, yyyymmddhhmmss, that is not affected by the SET CENTURY, the SET HOURS, or SET SECONDS commands. For more information, see SET CENTURY, SET HOURS, and SET SECONDS.

+

Returns tExpression as a character string in a format suitable for indexing. The character string returned has a 14-character format, yyyymmddhhmmss, that is not affected by the SET CENTURY, the SET HOURS, or SET SECONDS commands.

+

For more information, see + SET CENTURY, + SET HOURS,and + SET SECONDS.

2

Returns tExpression as a character string containing only the time portion of tExpression.

-

To control whether to include the seconds of the time portion in the character string, set the SET SECONDS and SET DATE commands. The SET HOURS command determines if AM or PM is appended to the time portion returned.

-

For more information, see SET DATE and SET HOURS.

+

To control whether to include the seconds of the time portion in the character string, set the SET SECONDS command.

+

The SET HOURS command determines if AM or PM is appended to the time portion

returned.

+

For more information, see + SET DATE and + SET HOURS.

NoteNote

If SET DATE is set to LONG or SHORT, the format of the time setting in the Windows Control Panel determines the format of the character string.

+
3

Returns tExpression as a character string with the XML DateTime format. The character string returned has a 19-character yyyy-mm-ddThh:mm:ss format that is not affected by the settings of the SET CENTURY, SET HOURS, or SET SECONDS commands.

@@ -139,14 +156,25 @@

Expand imageExample

Expand imageSee Also

+

Expand imageSee Also

- See Also  + See Also? Example
@@ -91,7 +91,7 @@  
+ ?
 ALTER TABLE TableName1 [DROP [COLUMN] FieldName3] 
-   [SET CHECK lExpression3 [ERRORcMessageText3]] [DROP CHECK] 
+   [SET CHECK lExpression3 [ERROR cMessageText3]]
+   [DROP CHECK] 
    [ADD PRIMARY KEY eExpression3 [FOR lExpression4] TAG TagName2
-   [COLLATE cCollateSequence]] [DROP PRIMARY KEY] 
+      [COLLATE cCollateSequence]]
+   [DROP PRIMARY KEY] 
    [ADD UNIQUE eExpression4 [[FOR lExpression5] TAG TagName3 
-      [COLLATE cCollateSequence]]] [DROP UNIQUE TAG TagName4] 
-   [ADD FOREIGN KEY [eExpression5] [FOR lExpression6] TAG TagName4 
-      REFERENCES TableName4 [TAG TagName4][COLLATE cCollateSequence]
-      REFERENCES TableName2 [TAG TagName5]] 
+      [COLLATE cCollateSequence]]]
+   [DROP UNIQUE TAG TagName4] 
+   [ADD FOREIGN KEY [eExpression5] [FOR lExpression6]  TAG TagName4
+      [COLLATE cCollateSequence]
+    REFERENCES TableName2 [TAG TagName5]] 
    [DROP FOREIGN KEY TAG TagName6 [SAVE]] 
-   [RENAME COLUMN FieldName4 TO FieldName5] [NOVALIDATE]

Parameters

+ [RENAME COLUMN FieldName4 TO FieldName5] + [NOVALIDATE]

Parameters

ALTER TABLE TableName1

Modifies the structure of a table. The TableName1 parameter specifies the name of the table to be modified.

@@ -177,7 +181,7 @@

N

-

–

+

–

@@ -188,10 +192,10 @@

Y, Currency

-

–

+

–

-

–

+

–

@@ -203,10 +207,10 @@

D, Date

-

–

+

–

-

–

+

–

@@ -218,10 +222,10 @@

T, DateTime

-

–

+

–

-

–

+

–

@@ -233,7 +237,7 @@

B, Double

-

–

+

–

D

@@ -248,10 +252,10 @@

G, General

-

–

+

–

-

–

+

–

@@ -263,10 +267,10 @@

I, Int, Interger

-

–

+

–

-

–

+

–

@@ -278,10 +282,10 @@

L, Logical

-

–

+

–

-

–

+

–

@@ -293,10 +297,10 @@

M, Memo

-

–

+

–

-

–

+

–

@@ -414,28 +418,30 @@

Specifies an error message for the table validation rule in lExpression3. Visual FoxPro displays this message when the table validation rule generates an error. The message displays only when data is changed within a Browse window or Edit window.

DROP CHECK

Removes the table validation rule.

-
ADD PRIMARY KEY eExpression3[FOR lExpression4] TAG TagName2
+
ADD PRIMARY KEY eExpression3 [FOR lExpression4] TAG TagName2

Adds a primary index to the table. The eExpression3 specifies the primary index key expression.

You can use lExpression4 to specify a filter expression where only records that satisfy the condition are available for display and access. Primary index keys are created in the index file just for those records that match the filter expression. You should avoid using the FOR clause to create a primary index; the uniqueness of a primary key is enforced only for those records that match the condition specified in the FOR clause. Instead, use the INDEX command with a FOR clause to create a filtered index.

-

Rushmore Query Optimization optimizes an ALTER TABLE ... FOR lExpression4 command if the lExpression4 expression can be optimized. For the best performance, use an optimizable expression in the FOR clause. For more information, see SET OPTIMIZE Command and Using Rushmore Query Optimization to Speed Data Access.

-

The TagName2 parameter specifies the name of the primary index tag. Index tag names can contain up to 10 characters. If you omit TAG TagName2, and eExpression3 is a single field, the primary index tag has the same name as the field specified in eExpression3.

+

Rushmore Query Optimization optimizes an ALTER TABLE?...?FOR?lExpression4 command if the lExpression4 expression can be optimized. For the best performance, use an optimizable expression in the FOR clause. For more information, see SET OPTIMIZE Command and Using Rushmore Query Optimization to Speed Data Access.

+

The TagName2 parameter specifies the name of the primary index tag. Index tag names can contain up to 10 characters. If you omit TAG?TagName2, and eExpression3 is a single field, the primary index tag has the same name as the field specified in eExpression3.

DROP PRIMARY KEY

Removes the primary index and its index tag. A table can have only one primary key, so you do not need to specify the name of the primary key. Removing the primary index also deletes any persistent relations based on the primary key.

-
ADD UNIQUE eExpression4[TAG TagName3[FOR lExpression5]]
+
ADD UNIQUE eExpression4 [TAG TagName3 [FOR lExpression5]]

Adds a candidate index to the table. The eExpression4 parameter specifies the candidate index key expression. The TagName3 parameter specifies the name of the candidate index tag. Index tag names can contain up to 10 characters. If you omit TAG TagName3, and if eExpression4 is a single field, the candidate index tag has the same name as the field specified in eExpression4.

You can use the lExpression5 parameter to specify a filter expression where only records that satisfy the condition are available for display and access. Candidate index keys are created in the index file just for those records that match the filter expression.

-

Rushmore optimizes an ALTER TABLE ... FOR lExpression5 command if the lExpression5 expression can be optimized. For the best performance, use an optimizable expression in the FOR clause. For more information, see SET OPTIMIZE Command and Using Rushmore Query Optimization to Speed Data Access.

+

Rushmore optimizes an ALTER TABLE?...?FOR ?lExpression5 command if the lExpression5 expression can be optimized. For the best performance, use an optimizable expression in the FOR clause. For more information, see SET OPTIMIZE Command and Using Rushmore Query Optimization to Speed Data Access.

DROP UNIQUE TAG TagName4

Removes the candidate index and its index tag. A table can have multiple candidate keys, so you must specify the name of the candidate index tag.

-
ADD FOREIGN KEY [ eExpression5] TAG TagName4[FOR lExpression6]
+
ADD FOREIGN KEY [ eExpression5] TAG TagName4 [FOR lExpression6] REFERENCES TableName2 [TAG TagName5]

Adds a foreign (non-primary) index to the table. The eExpression5 parameter specifies the foreign index key expression. The TagName4 parameter specifies the name of the foreign index tag. Index tag names can contain up to 10 characters.

You can use the lExpression6 parameter to specify a filter expression where only records that satisfy the condition are available for display and access. Foreign index keys are created in the index file just for those records that match the filter expression.

-

Rushmore optimizes an ALTER TABLE ... FOR lExpression6 command if the lExpression6 expression can be optimized. For the best performance, use an optimizable expression in the FOR clause. For more information, see SET OPTIMIZE Command and Using Rushmore Query Optimization to Speed Data Access.

-
REFERENCES TableName2[TAG TagName5]
+

Rushmore optimizes an ALTER TABLE ... FOR lExpression6 command if the lExpression6 expression can be optimized. For the best performance, use an optimizable expression in the FOR clause. For more information, see SET OPTIMIZE Command and Using Rushmore Query Optimization to Speed Data Access.

+
REFERENCES TableName2 [TAG TagName5]

Specifies the parent table to which a persistent relationship is established. You can use the TAG TagName5 clause to establish a relationship based on an existing index tag for the parent table. Index tag names can contain up to 10 characters. If you omit the TAG clause, Visual FoxPro establishes the relationship using the parent table's primary index tag.

-
DROP FOREIGN KEY TAG TagName6[SAVE]
+

TagName5 must be a primary or candidate key of TableName2

+
+
DROP FOREIGN KEY TAG TagName6 [SAVE]

Deletes a foreign key whose index tag is TagName6. You can use SAVE to keep the index tag in the structural index. If you omit SAVE, the index tag is deleted from the structural index.

-
RENAME COLUMN FieldName4TO FieldName5
+
RENAME COLUMN FieldName4 TO FieldName5

Makes it possible for you to change the name of a field in the table. The FieldName4 parameter specifies the name of the field to be renamed. The FieldName5 paramter specifies the new name of the field.

Caution noteCaution

Exercise care when renaming table fields because index expressions, field and table validation rules, commands, functions, and so on might refer to the original field names.

@@ -459,7 +465,7 @@

NoteNote
-

Candidate indexes, created by including the UNIQUE option (provided for ANSI compatibility) in CREATE TABLE – SQL or ALTER TABLE – SQL commands, are not the same as indexes created in the INDEX command with the UNIQUE option. An index created in the INDEX command using the UNIQUE option allows duplicate index keys; candidate indexes do not allow duplicate index keys. For more information about the UNIQUE option in the INDEX command, see INDEX Command. The term CANDIDATE is a synonym of UNIQUE and can be used instead if you choose.

+

Candidate indexes, created by including the UNIQUE option (provided for ANSI compatibility) in CREATE TABLE ? SQL or ALTER TABLE ? SQL commands, are not the same as indexes created in the INDEX command with the UNIQUE option. An index created in the INDEX command using the UNIQUE option allows duplicate index keys; candidate indexes do not allow duplicate index keys. For more information about the UNIQUE option in the INDEX command, see INDEX Command. The term CANDIDATE is a synonym of UNIQUE and can be used instead if you choose.

If you modify an existing field, and the primary index expression or candidate index expression consists of fields in the table, Visual FoxPro checks the fields to see if they contain null values or duplicate records. If they do, Visual FoxPro generates an error and the table is not altered.

If the table is converted to another code page, the fields for which NOCPTRANS has been specified are not translated.

@@ -474,7 +480,7 @@

@@ -162,11 +162,11 @@

 CopyCode imageCopy Code
* Example 1
+        
?CopyCode imageCopy Code
* Example 1
 SET PATH TO (HOME(2) + 'Data\')     && Sets path to table.
 ALTER TABLE Customer ADD COLUMN Fax c(20) NULL
 * Example 2
@@ -513,7 +519,7 @@ 

Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08
Send feedback on this topic to the VFPX Help file project team.
-2009-2017 Placed under Creative Commons licensing by Microsoft Corporation. +2009-2022 Placed under Creative Commons licensing by Microsoft Corporation. diff --git a/sources/dv_foxhelp/html/4e2a6885-35a8-405b-ad03-c8ebac844f57.htm b/sources/dv_foxhelp/html/4e2a6885-35a8-405b-ad03-c8ebac844f57.htm index 6049d5c..0a5f0e0 100644 --- a/sources/dv_foxhelp/html/4e2a6885-35a8-405b-ad03-c8ebac844f57.htm +++ b/sources/dv_foxhelp/html/4e2a6885-35a8-405b-ad03-c8ebac844f57.htm @@ -1,4 +1,4 @@ - + @@ -74,7 +74,7 @@

- See Also  + See Also  Example
@@ -91,7 +91,7 @@  
+  
 CopyCode imageCopy Code
RETURN DODEFAULT( eIndex )
+
 CopyCode imageCopy Code
RETURN DODEFAULT( eIndex )

If you do not want to return the value, use the RETURN command without the DODEFAULT() function.

  • To determine if keys were specified when items were added to the collection, you can use the statement GetKey(1) and the EMPTY() function to check for an empty return value as follows:

    -
     CopyCode imageCopy Code
    ? !EMPTY(Collection.GetKey(1))
    +
     CopyCode imageCopy Code
    ? !EMPTY(Collection.GetKey(1))
  • To derive the index or key from an item in a collection from within a FOR EACH loop, use a normal FOR loop instead of a FOR EACH loop.

  • @@ -184,7 +184,7 @@

     CopyCode imageCopy Code
    CLEAR
    +    
     CopyCode imageCopy Code
    CLEAR
     LOCAL oItems AS Collection
     oItems = NEWOBJECT("Collection")
     oItems.Add("Daffodils", "flower2")
    diff --git a/sources/dv_foxhelp/html/5aa1323b-4df7-4dd1-bd1b-7f46aa39010a.htm b/sources/dv_foxhelp/html/5aa1323b-4df7-4dd1-bd1b-7f46aa39010a.htm
    index fb63c55..f3ab464 100644
    --- a/sources/dv_foxhelp/html/5aa1323b-4df7-4dd1-bd1b-7f46aa39010a.htm
    +++ b/sources/dv_foxhelp/html/5aa1323b-4df7-4dd1-bd1b-7f46aa39010a.htm
    @@ -371,7 +371,7 @@
                 

    -

    Return the file name portion of a complete path and file name. 

    +

    Return the file extension portion of a complete path and file name. 

    @@ -602,7 +602,7 @@
    Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08
    Send feedback on this topic to the VFPX Help file project team.
    -2009-2017 Placed under Creative Commons licensing by Microsoft Corporation. +2009-2022 Placed under Creative Commons licensing by Microsoft Corporation.
    diff --git a/sources/dv_foxhelp/html/63809213-c10e-4a3e-92d2-fbf5a89c33b1.htm b/sources/dv_foxhelp/html/63809213-c10e-4a3e-92d2-fbf5a89c33b1.htm index b64106c..b1b5c91 100644 --- a/sources/dv_foxhelp/html/63809213-c10e-4a3e-92d2-fbf5a89c33b1.htm +++ b/sources/dv_foxhelp/html/63809213-c10e-4a3e-92d2-fbf5a89c33b1.htm @@ -121,6 +121,10 @@

    Expand imageRemarks

    Expand imageSee Also

    Expand imageSee Also

    For additional information on code pages and Visual FoxPro's international support, see Code Pages Supported by Visual FoxPro in Developing International Applications.

    For more information on configuring Visual FoxPro, see Customizing the Visual FoxPro Environment and Special Terms for Configuration Files.

    +

    Note: The relational string operators <; >; =; <>; #; !=; <=; >= change there behaviour if SET COLLATE TO "MACHINE" is active or not. The string comparison == is not affected.

    -

    Expand imageSee Also

    +

    Expand imageSee Also

    Parameters

    ClassName @@ -122,6 +122,7 @@

    If you omit AS cBaseClassName, the class definition is based on the Visual FoxPro FormSet base class.

    FROM ClassLibraryName2

    Specifies the name of the .vcx visual class library containing the user-defined class specified with cBaseClassName.

    +
    METHOD MethodName

    Specifies an event or method for which the Code window is opened in the Class Designer. The METHOD clause makes it possible for you to immediately begin editing event or method code in the Class Designer.

    @@ -129,6 +130,12 @@

     CopyCode imageCopy Code
    MODIFY CLASS MyClass OF MyClassLibrary METHOD txtFirstName.Click

    If you only include an event or method name in the METHOD clause, the Code window is opened for the class's event or method. For example, to immediately edit the Click event code for a class named MyClass in a visual class library named MyClassLibrary, use the following command:

     CopyCode imageCopy Code
    MODIFY CLASS MyClass OF MyClassLibrary METHOD Click
    + +
    METHOD MethodName, Line_No
    +

    Opens the method at line number Line_No.

    +

    If no number is given, the last postion determined from ressource, or line 1.

    +

    A number greater then the last line goes to the last line of the method.

    +
    NOWAIT

    Continues program execution after the Class Designer is opened. The program doesn't wait for the Class Designer to be closed, but continues execution on the program line immediately following the line that contains MODIFY CLASS NOWAIT. If you omit NOWAIT when MODIFY CLASS is issued in a program, the Class Designer is opened and program execution pauses until the Class Designer is closed.

    NOWAIT is effective only from within a program. It has no effect on MODIFY CLASS when issued from the Command window. If NOWAIT is included with the METHOD clause, be sure to place NOWAIT before the METHOD clause or NOWAIT will be ignored.

    @@ -152,7 +159,7 @@

    Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08
    Send feedback on this topic to the VFPX Help file project team.
    -2009-2017 Placed under Creative Commons licensing by Microsoft Corporation. +2009-2022 Placed under Creative Commons licensing by Microsoft Corporation. diff --git a/sources/dv_foxhelp/html/8935f327-b17d-4dcd-8f71-948f6b68a230.htm b/sources/dv_foxhelp/html/8935f327-b17d-4dcd-8f71-948f6b68a230.htm index 43cea2e..31d9f20 100644 --- a/sources/dv_foxhelp/html/8935f327-b17d-4dcd-8f71-948f6b68a230.htm +++ b/sources/dv_foxhelp/html/8935f327-b17d-4dcd-8f71-948f6b68a230.htm @@ -226,8 +226,16 @@ Y = CREATEOBJECT('Form') ? X = Y && Displays false (.F.) Z = X -? X = Z && Displays true (.T.)

    -

    Expand imageSee Also

    +? X = Z && Displays true (.T.)

  • +

    Note: The relational string operators <; >; =; <>; #; !=; <=; >= change there behaviour if SET COLLATE TO "MACHINE" is active or not. The string comparison == is not affected.

    +
    +

    Expand imageSee Also

    +

    SYS(2014) is in some cases respecting the internal search order of VFP.

    + +

    The following example shows the how SET PATH TO works with SYS(2014)

    + +
     CopyCode imageCopy Code
    clear
    +Mkdir  C:\MyDir1
    +Mkdir  C:\MyDir2
    +
    +Set Path To C:\MyDir1
    +Cd C:\MyDir2
    +
    +Strtofile('','C:\MyDir1\Text1.txt')
    +
    +Strtofile('','C:\MyDir2\A.txt')
    +Strtofile('','C:\MyDir2\Text2.txt')
    +
    +*file does exist: 
    +?Sys(2014,'Text2.txt','C:\MyDir2\A.txt')	&& Output: TEXT2.TXT
    +*file does not exist: 
    +?Sys(2014,'Text3.txt','C:\MyDir2\A.txt')	&& Output: TEXT3.TXT
    +*will find Text1.txt along the path
    +?Sys(2014,'Text1.txt','C:\MyDir2\A.txt')	&& Output: ..\MYDIR1\X\TEXT1.TXT
    + + +

    Expand imageSee Also

    Restricted Visual FoxPro Files

    Visual FoxPro installs files on your computer that are restricted and cannot be reproduced or distributed, including:

    @@ -262,8 +262,6 @@

    Restricted Visual FoxPro Features

    Distributable Visual FoxPro Files

    Pursuant to the Microsoft License Agreement you received with this product, you must distribute files in conjunction with a corresponding application. The following guidelines apply to distributable files.

    @@ -293,7 +291,7 @@

    ActiveX Controls

    Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08
    Send feedback on this topic to the VFPX Help file project team.
    -2009-2017 Placed under Creative Commons licensing by Microsoft Corporation. +2009-2022 Placed under Creative Commons licensing by Microsoft Corporation.
    diff --git a/sources/dv_foxhelp/html/94830793-50f6-4dce-a3a9-38b1bcece01d.htm b/sources/dv_foxhelp/html/94830793-50f6-4dce-a3a9-38b1bcece01d.htm index 6e039c4..0299c0b 100644 --- a/sources/dv_foxhelp/html/94830793-50f6-4dce-a3a9-38b1bcece01d.htm +++ b/sources/dv_foxhelp/html/94830793-50f6-4dce-a3a9-38b1bcece01d.htm @@ -118,7 +118,8 @@

    Expand imageSee Also

    [, [ eBefore|, eAfter]]

    Specifies an optional expression that represents a position where a new member is to be inserted before or after another item in the collection.

    @@ -185,7 +185,13 @@

    -

    Expand imageSee Also

    +

    Expand imageSee Also