Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running object code
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00901152
Message ID:
00901758
Views:
22
This works for me
* Create empty database
CREATE DATABASE MyDB

* Use the database if not already open
OPEN DATABASE MyDB

* Create a string holding a procedure
CRLF = CHR(13)+CHR(10)
lcProcString = 'PROCEDURE TestStore'+CRLF
lcProcString = lcProcString + '   MESSAGEBOX("I am so stored")'+CRLF
lcProcString = lcProcString + 'ENDPROC'+CRLF

* Add a stored procedure by pasting the string
_CLIPTEXT = lcProcString
KEYBOARD '{CTRL+v}'
KEYBOARD '{CTRL+w}'
MODIFY PROCEDURE

* Run the procedure
DO TestStore
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform