Hey guys...doing a Kotlin project here but i am ha...
# announcements
y
Hey guys...doing a Kotlin project here but i am having a headache because i am inexperienced in the language This is my code -> https://pastebin.com/RYTZ7r9z It is still incomplete, but i need help on two things: I am reading two .txt files on the beggining of the program, and if you can see my program has a
fun
that uses the file call. 1. Can someone tell me if there is a way to simplify the fun chamadas to prevent double code, like same thing twice and if i can store the file content in a array? 2. How do i call a fun inside another fun. For example i have the
fun lista()
and i want to call the contents of
fun chamadas
, how do i do that? Thanks....its just frustrating days for me because of all this problems