GitHub_collection_hello-world/v/visualfoxpro.prg
2018-08-22 01:37:32 -03:00

18 lines
280 B
Plaintext
Executable File

* 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