Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 8 Empty Class
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
VFP 8 Empty Class
Miscellaneous
Thread ID:
00793345
Message ID:
00793345
Views:
55
Ken Levy presented someting like this at DevCon. What am I
doing wrong here? I get an "Invalid Class Name" error
CLEAR ALL

SELECT 0
USE MyTable

oMyRec = CREATEOBJECT("SomeClass")
SCATTER NAME oMyRec MEMO

? oMyRec.Caption
? oMyRec.Test()


DEFINE CLASS SomeClass AS Empty

  PROCEDURE Test()
    RETURN "It works"
  ENDPROC

ENDDEFINE
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform