<Import 'fun' from other file> Hi. How can i use/i...
# forum
r
Import 'fun' from other file Hi. How can i use/import functions from other file, example: prnt.kt fun prnt(txt: String) { println(“$txt”) } Main.kt fun main(args: Array) { println(“Hello World!”) // prnt.kt.prnt(“Another Hello World”) } 1 post - 1 participant Read full topic