Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
26
Task/Abstract-type/QBasic/abstract-type.basic
Normal file
26
Task/Abstract-type/QBasic/abstract-type.basic
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
a = 15
|
||||
|
||||
TYPE c
|
||||
d AS INTEGER
|
||||
e AS STRING * 12
|
||||
END TYPE
|
||||
c.d = 25
|
||||
|
||||
TYPE f
|
||||
g AS c
|
||||
h AS INTEGER
|
||||
END TYPE
|
||||
|
||||
DIM i AS f
|
||||
i.g.e = "thirty five"
|
||||
|
||||
DIM j AS f
|
||||
j.g.e = "forty five"
|
||||
|
||||
PRINT a
|
||||
PRINT b
|
||||
PRINT c.d
|
||||
PRINT c.e
|
||||
PRINT i.g.e
|
||||
PRINT g.e
|
||||
PRINT j.g.e
|
||||
Loading…
Add table
Add a link
Reference in a new issue