Skip to content

Commit

Permalink
Visual FoxPro
Browse files Browse the repository at this point in the history
Multiple Visual FoxPro samples, taken from https://en.wikipedia.org/wiki/Visual_FoxPro
  • Loading branch information
ericcholis committed May 20, 2016
1 parent 9f63e88 commit 8bfe0d0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions v/visualfoxpro.prg
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
* Message Box:
MESSAGEBOX("Hello World")

* Print to screen:
? "Hello World"

* GUI:
loForm = CREATEOBJECT("HiForm")
loForm.Show(1)

DEFINE CLASS HiForm AS Form
AutoCenter = .T.
Caption = "Hello, World"

ADD OBJECT lblHi as Label ;
WITH Caption = "Hello, World!"
ENDDEFINE

0 comments on commit 8bfe0d0

Please sign in to comment.