mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 22:50:18 +00:00
25 lines
439 B
Plaintext
25 lines
439 B
Plaintext
service Console("run-console"):
|
|
print(s: string)
|
|
|
|
func main():
|
|
-- NewConsole = Console.??id??("new id")
|
|
-- NewConsole.print("")
|
|
|
|
Console "new id"
|
|
NewAb = Ab(print = Console.print)
|
|
|
|
|
|
Console.print("sfre")
|
|
|
|
for i <- incr:
|
|
Console "inside for id"
|
|
Console.print("sfre")
|
|
|
|
|
|
Console "new id"
|
|
Console.print("sfre")
|
|
|
|
Console "inside for id"
|
|
-- Console -> ConsoleNew
|
|
Console.print("sfre")
|