Skip to content

Hassium Version 1.5.0

Compare
Choose a tag to compare
@zdimension zdimension released this 23 Oct 22:47
· 283 commits to master since this release

New Features

Added yield return

for (i = 0; i < 9; i++)
{
    yield i;
}

The example above returns Array { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }.

Bugfixes

Console color parsing

Console.foregroundColor = "red";
currentColor = Console.foregroundColor;
Console.foregroundColor = currentColor;

In previous versions, this would have thrown an error because the getter for foregroundColor was doing ConsoleColor.ToString() which returns a value that couldn't be parser by Hassium.