First commit

This commit is contained in:
2025-11-17 13:34:43 -06:00
commit bde690c9cb
36 changed files with 1363 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
func aFunctionWithOptionalArgument(a,$b)
{
Console.WriteLine(a);
if(TypeIsDefined(b))
{
Console.WriteLine(b);
}
else {
Console.WriteLine("B is not defined");
}
}
func String.Join(join, $$strings)
{
var first=true
var output = "";
each(var item : strings)
{
if(!first)
output +=join;
first=false;
output += item;
}
return output;
}
func main(args)
{
//aFunctionWithOptionalArgument("A string");
//aFunctionWithOptionalArgument(true, 42);
Console.WriteLine(String.Join(".","192","168","0","142"));
}