Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
21
Task/Break-OO-privacy/FreeBASIC/break-oo-privacy.basic
Normal file
21
Task/Break-OO-privacy/FreeBASIC/break-oo-privacy.basic
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
'FB 1.05.0 Win64
|
||||
|
||||
#Undef Private
|
||||
#Undef Protected
|
||||
#Define Private Public
|
||||
#Define Protected Public
|
||||
|
||||
Type MyType
|
||||
Public :
|
||||
x As Integer = 1
|
||||
Protected :
|
||||
y As Integer = 2
|
||||
Private :
|
||||
z As Integer = 3
|
||||
End Type
|
||||
|
||||
Dim mt As MyType
|
||||
Print mt.x, mt.y, mt.z
|
||||
Print
|
||||
Print "Press any key to quit"
|
||||
Sleep
|
||||
Loading…
Add table
Add a link
Reference in a new issue