-
-
Notifications
You must be signed in to change notification settings - Fork 1
Overview
Alexander (Arkasha) edited this page Nov 2, 2019
·
5 revisions
For work this code who need download framework wolSystem from https://github.com/world-of-legends/frameworks-wolvm-dotnet/releases
_loads {
wolSystem
}
main {
print : <Hello World:string>;
}
end
Hello World with variables:
_loads {
wolSystem
}
stack {
var {
a = string PUBLIC set (_a: string) [
set : &@a , @_a ;
]
PUBLIC get [
return @a ;
],
b = string PUBLIC set (_b: string) [
set : &@b , @_b ;
]
PUBLIC get [
return @b ;
]
};
}
main {
@a.#set : <Hello :string>;
@b.#set : <World:string>;
print : @a, @b;
}
end
For work this code who need download framework wolSystem from https://github.com/world-of-legends/frameworks-wolvm-dotnet/releases
_loads {
wolSystem
}
stack {
var {
name = string PUBLIC set (_name: string) [
set : &@name , @_name ;
]
PUBLIC get [
return @name ;
]
};
}
main {
@name.#set : (input) ;
print : <Hello :string>, @a, <\n:string> ;
}
end
More examples You can find in https://github.com/snaulX/virtual-machine-dotnet/tree/master/examples
Some text translate with help of Google.Translate
If you want to more quality info on all languages -> go to official page of WoL VM