Library: Added core library function left and right according to FlightGear Nasal

This commit is contained in:
Sidi Liang
2021-02-13 20:19:49 +08:00
parent 805efbd104
commit db1b28898c
2 changed files with 60 additions and 0 deletions
+8
View File
@@ -100,6 +100,14 @@ var substr=func(str,begin,length)
{
return nasal_call_builtin_substr(str,begin,length);
}
var left=func(string,length)
{
return nasal_call_builtin_left(string,length);
}
var right=func(string,length)
{
return nasal_call_builtin_right(string,length);
}
var io=
{