Hello, On Kotlin online compiler, var a : Int = 12...
# android
a
Hello, On Kotlin online compiler, var a : Int = 12 println(" a = ${++a} ") It works but on Adroid studio it doesn't could You explain me?
c
What does you mean with “it works”? Does it compile? does it run? Do you see the output?
And especially, what do you expect to happen on Android Studio side?
a
It compile on Kotlin online compiler, but it doesn't compile on Android studio
c
Can you post your code?
👍 1
And what is the compile error you get?
a
Sorry, I tried again and it compile on Android Studio
👍 1
Thank You so much