| 
															
																@@ -186,10 +186,10 @@ export function createCastBoolFun () { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 export function createCastStringFun () { 
															 | 
															
															 | 
															
																 export function createCastStringFun () { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																   const castStringFun = function (store, _) { 
															 | 
															
															 | 
															
																   const castStringFun = function (store, _) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     const val = store.applyStore('str'); 
															 | 
															
															 | 
															
																     const val = store.applyStore('str'); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    let result = convertToString(val) 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    let result = convertToString(val, val.type); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     const temp = new StoreObject(Types.STRING, result); 
															 | 
															
															 | 
															
																     const temp = new StoreObject(Types.STRING, result); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    sto.mode = Modes.RETURN; 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    return Promise.resolve(sto.updateStore("$", temp)); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    store.mode = Modes.RETURN; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    return Promise.resolve(store.updateStore("$", temp)); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																   } 
															 | 
															
															 | 
															
																   } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																   const block = new Commands.CommandBlock([], [new Commands.SysCall(castStringFun)]); 
															 | 
															
															 | 
															
																   const block = new Commands.CommandBlock([], [new Commands.SysCall(castStringFun)]); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																   const func = new Commands.Function('$castString', Types.STRING, 
															 | 
															
															 | 
															
																   const func = new Commands.Function('$castString', Types.STRING, 
															 |