Skip to content

Let Command

Bean Pringles edited this page Dec 9, 2025 · 1 revision

You can use the let Command to do a variety of things, such as declare ints, chars, pointers, unsigned varibles, long varibles, short varibles, and long long varibles.

Declaring Ints and Chars

let x: int = 0

This makes an int, x, with a value of 0

let x: string = "Hello"

This declares a string with a value of "Hello"

Pointers

let* x: int = a
let* x: char = a

These create a pointer, x, and assigns to the address of a

Unsigned Varibles

let x: int; unsigned = 0

This creates an unsigned variable, x, and assigns it to 0

let x: char; unsigned = "A"

This creates an unsigned char that stores the ASCII value of A

Long, Short, and Long Long Intergers

let x: int; long = 0
let x: int; long long = 0
let x: int; short = 0

This creates either a long, long long, or short interger.

Long, Short, Long Long, and Unsigned Intergers

let x: int; unsigned; long = 0
let x: int; unsigned; long long = 0
let x: int; unsigned; short = 0

When you have both an unsigned and length argument, place unsigned before the length

Clone this wiki locally