Code: Select all
Function My_InsertItem(Table, Item, Pos)
InsertItem(Table, Item, Pos)
EndFunctionCode: Select all
My_InsertItem(Table, Item)This have worked quite well in my functions but now that the InsertItem and RemoveItem treat NIL as 0, it makes me need to make an extra check of if it really is Nil first, I am therefore wondering that is this actually a supposed behavior or accidental, for after all, quite many commands in Hollywood are using NIL as an option, like MakeButton(NIL...), and if you put instead 0, then it doesn't do same as NIL.