Hi!
I have developed a powerpro application that appends text to a text
file. Whenever a loop in my application finds the word "TRUNCATED"
the loop stops automatically. Unfortunately, this is not working as
expected. It is as if powerpro could not work with text files.
This is the code statement I use to search for "TRUNCATED", which
does not work.
TRUNCATED = index("C:\\FileName.txt","TRUNCATED")
The above code statement returns 0 all the time, even though the word
TRUNCATED exists in the FileName.text file
The following code statement works as expected, returning 8
WIN.DEBUG(index("sfgsdgdTRUNCATEDDSGSDGFDSA","TRUNCATED"))
By the way, FileName in the root directory and it features the
word "TRUNCATED". Therefore, the unexpected behavior cannot be due to
this
What is going on here? What am I doing wrong? Why cannot powerpro
find the word "TRUNCATED"?
Thanks in advance
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~->
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/