Return Types

Return types for Functions in Cyclone


If a function returns value, it MUST specify the return type beforehand, else the compiler will throw error.

function sum(a:int, b:int) : int{
    return a + b
}

    Theme

    Presets

    Background

    Custom:

    Primary

    Custom:

    Secondary

    Custom:

    Border

    Custom:

    Mode

    Light
    Dark