FoxPro/Visual FoxPro - se podraa????

 
Vista:

se podraa????

Publicado por marti_n (41 intervenciones) el 25/04/2001 08:27:51
Hola gracias por lees mi duda...
hay alguna intruccion para buscar una palabra en vfpro , que este contenida en un archivo .txt
ojala me puedan ayudar gracias...
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
sin imagen de perfil

RE:se podraa????

Publicado por DALSOM (612 intervenciones) el 25/04/2001 19:30:44
NO EN VFP, EN WINDOWS. USA FIND EN START.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

vivisímo!!!!!!!!!!!!!!!!!!!

Publicado por Kenobi (1 intervención) el 25/04/2001 21:26:37
Oye Dalsom, donde aprendiste eso del find???
Marti_n usa las funciones FOPEN, FREAD, FCLOSE
y puedes utilizar para buscar el operador $. lo leído con FREAD.
Suerte
Obiwan Kenobi desde la Luna de Endor.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:se podraa????

Publicado por Victor Manuel Sánchez Gutierre (25 intervenciones) el 26/04/2001 19:09:33
La funcion es AT(), te pongo la descripción
que viene en el help

Returns the beginning numeric position of the first occurrence of a character expression or memo field within another character expression or memo field, counting from the leftmost character.

Syntax

AT(cSearchExpression, cExpressionSearched [, nOccurrence])

Returns

Numeric

Arguments

cSearchExpression

Specifies the character expression that AT( ) searches for in cExpressionSearched.

cExpressionSearched

Specifies the character expression cSearchExpression searches for.

Both cSearchExpression and cExpressionSearched can be memo fields of any size.

nOccurrence

Specifies which occurrence (first, second, third, and so on) of cSearchExpression is searched for in cExpressionSearched. By default, AT( ) searches for the first occurrence of cSearchExpression (nOccurrence = 1). Including nOccurrence lets you search for additional occurrences of cSearchExpression in cExpressionSearched. AT( ) returns 0 if nOccurrence is greater than the number of times cSearchExpression occurs in cExpressionSearched.

Remarks

AT( ) searches the second character expression for the first occurrence of the first character expression. It then returns an integer indicating the position of the first character in the character expression found. If the character expression isn't found, AT( ) returns 0.

The search performed by AT( ) is case-sensitive. To perform a search that isn't case-sensitive, use ATC( ).

Saludos
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar