Hi!

I have developed a powerpro application that appends text to a text 
file. Whenever a loop in my application finds the word "TRUNCATED" in 
the text file, the application 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:\\TextFileName.txt","TRUNCATED")

The above code statement returns 0 all the time, even though the word 
TRUNCATED exists, and the file is in the C root.

However, the following code statement works as expected, returning 8

WIN.DEBUG(index("sfgsdgdTRUNCATEDDSGSDGFDSA","TRUNCATED"))


What is going on here? What am I doing wrong? Why cannot powerpro 
find "TRUNCATED"?

Thanks in advance









------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/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/
 


Reply via email to