This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
Generated
+14
@@ -0,0 +1,14 @@
|
||||
struct Frame(Copyable):
|
||||
var a: Int
|
||||
var b: Int
|
||||
var c: Int
|
||||
|
||||
def __init__(out self, a: Int, b: Int, c: Int):
|
||||
self.a = a
|
||||
self.b = b
|
||||
self.c = c
|
||||
|
||||
|
||||
def main():
|
||||
var f = Frame(10, 20, 30)
|
||||
print("channel 1:", f[1])
|
||||
Reference in new issue
Block a user