Preload

This module is automatically loaded into your program by default. This is the minimal code the compiler needs to compile your program. Here is a list of things found inside preload:

  • Type Info Structs
  • Any Type
  • Allocator definition
  • Context definition
  • Logger structs and functions
  • Stack Trace
  • Temporary Storage
  • Array Views and Resizable Arrays

Getting Commandline Arguments

This small example gets the commandline arguments as string array [] string.

args := get_command_line_arguments();
1 Like