How would one write a function for that if the number of inputs can vary?
The number of inputs cannot vary in a BlitzMax function. The nearest you could do is to pass an array of ints, as the size of an array is not fixed in function declarations.
The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.