public static ZilObject GROW(Context ctx, [NotNull] IStructure st, int end, int beginning) { if (end < 0 || beginning < 0) { throw new InterpreterError(InterpreterMessages._0_Sizes_Must_Be_Nonnegative, "GROW"); } try { if (end > 0 || beginning > 0) { st.Grow(end, beginning, ctx.FALSE); } return((ZilObject)st.GetTop()); } catch (NotSupportedException) { throw new InterpreterError(InterpreterMessages._0_Not_Supported_By_Type, "GROW"); } }