Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IsNumeric - VFP analogue?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00307922
Message ID:
00309494
Views:
45
Ken,

Your command gives me an error message "String is too long".
Meanwhile I created my own program (and inserted Description at the top)
********************************************************************
*  Description.......: Function InsertDescription
*  Calling Samples...:
*  Parameter List....:
*  Created by........: George Tasker 12/28/99
*  Modified by.......: Nadya Nosonovsky 12/28/99
********************************************************************
#DEFINE CF_CR CHR(13)
local lcString, lnLines, i, lnMemoWidth
lcString=FileToStr('Description.txt')
lnLines=memlines(lcString)
lnMemoWidth=set('memowidth') && Save original settings
set memowidth to 255
_CLIPTEXT=CF_CR
_mline=0
for i=1 to lnLines
  _CLIPTEXT=_CLIPTEXT+ALLTRIM(mline(lcString,1,_mline))+CF_CR
next  
KEYBOARD "{CTRL+V}" PLAIN
set memowidth to lnMemoWidth && Restore original settings
>Ummm... it doesn't get 'pasted' it gets 'keyboard'ed into the current active window. Am I missing something G?
>
>>>How about:
>>>
>>>on key label f5 keyboard filetostr('Description.txt')
>>
>>Yeah, but how does it get pasted into the the editing window. Somehow the thing has to get into _CLIPTEXT.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform