-
Notifications
You must be signed in to change notification settings - Fork 0
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.
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"
let* x: int = a
let* x: char = a
These create a pointer, x, and assigns to the address of a
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
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.
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