Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code conversion
Message
From
07/05/2011 05:03:28
 
 
To
06/05/2011 14:21:30
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01509865
Message ID:
01509937
Views:
58
You should always give some info on the dialect the ssource worked in...


>
>How to convert these codes into vfp
>
>
>PARAMETERS FN
>BUFFER=" "
>HANDLE=FOPEN(FN,2)
>IF HANDLE>-1
>   FREAD(HANDLE,@BUFFER,1)
>   FBYTE=ASC(BUFFER)
>   FSEEK(HANDLE,0,0)
>   IF FBYTE=3
>      FWRITE(HANDLE,CHR(26),1)
>   ENDIF
>   FCLOSE(HANDLE)
>ENDIF
>RETURN .T.
>
Previous
Reply
Map
View

Click here to load this message in the networking platform