Write a function called "removeElement". Given an array of elements, and a "discarder" parameter, "removeElement" returns an array containing the items in the given array that do not match the "discar
我有2个子例程调用另一个来写入日志文件。数据放在一个名为LogData()的数组中。子例程1包含3个元素,而子例程2包含4.如果我只使用所有LogData()元素编写日志,则在子例程1运行时会出错,因为它不包含LogData(3)中的任何元素。我如何检查LogData元素(3)是否保存一个值,如果是,将它写入日志?我试着用下面的if语句,但这样的错误: If (Not LogData(3) Is