This is a quick guide to Kotlin programming language. The previous part of this guide is here
fun main(args : Array<String>) {
class local (val x : Int)
val y = local(10)
println("${y.x}")This is a quick guide to Kotlin programming language. The previous part of this guide is here
fun main(args : Array<String>) {
class local (val x : Int)
val y = local(10)
println("${y.x}")Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin 1.1.50
Kotlin project website is at kotlin.jetbrains.org.
All the codes here can be copied and run on Kotlin online editor.
Let's get started.
| { | |
| "odata.metadata": "http://37.29.76.15:8080/Data.svc/$metadata#SalesByDate", | |
| "value": [ | |
| { | |
| "Period": "201804", | |
| "PERNR": "99000005", | |
| "Date": "2018-03-24T00:00:00", | |
| "StoreID": "K393", | |
| "PeriodDesc": "апрель 2018", | |
| "PersonalHours": 0, |
| // ==UserScript== | |
| // @name LLM Analyzer Emotional analyizer | |
| // @namespace vikari-anatra | |
| // @version 0.9 | |
| // @description Extract main text via Readability.js and analyze with LLM. Modes: dual(default)=JSON+local pretty, pretty, json. Copy + toggle. | |
| // @match http*://*/* | |
| // @grant GM_xmlhttpRequest | |
| // @grant GM_registerMenuCommand | |
| // @grant GM_getValue | |
| // @grant GM_setValue |