Functions in VSLEdit

In languages like C#, C++, Java and C, functions are methods that inquire (a) parameter(s). Functions are implemented, in most object oriented languages, like so:

<level> <member> <type> <method name>(<parameters)

...however, in VSL, be it a common faced object oriented language, it is implemented like so:

<member> creation(<level>, <type>): <method name>(<parameters>)

For example, to create this method from C# (don't worry about the code within the method):

public static bool CheckIfBlank(string message)
    return (message == "") ? true : false;
} VSL, you'd have to do this (again, don't worry about the code within the method):

new_imovable creation(method['public'], typetf): CheckIfBlank(typestr message)
    return> (message == "") ?> TRUE :: FALSE;

Printing To Console in VSLEdit

Now that VSL is a .NET based language, printing is much easier to handle than it was.

Originally you would've had to call a new module, second supply a nullable parameter from the EntryType class, third produce a take statement that grabs the data from the parameter and forms a proper string, then notifiys the namespace that this NewFunction creation is a callable type, and finally returns the proper string as a printed line in the Console.

Now, it is much simpler. All you must do is imply the System library, then call the println or print method within the cnsl module, like so:

get->namespace System;
new_imovable creation(method['public'], freturn): Main(string[] args)
    cnsl::printl("Hello World");

This is just an example of the simplicity of the present version vs. the older versions.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.