Re: Euphoria 4.0.1
- Posted by Vinoba Mar 14, 2011
- 2525 views
your parameter definitions (sequence a,sequence b,sequence c,sequence x,sequence y, sequence z, ) bombs.
It is quite simple. Vinoba is defining a function which accepts SEQUENCE parameters and then trying to pass ATOM arguments. The whole thing should go away (ie work) if he declares the function with OBJECT parameters.
Pete
petelomax: I quite agree with what you are saying. In fact, if you see my initial posts I said that that was the only way to do it. The problem comes when you try to expand the function to a business level (with several sequences or rather atoms), where you are forced to loop through each element of the sequences, and you are faced with a situation where you cannot loop though the sequences because some may arbitrarily and unknowingly be single elements.
Anyway, I want to bring this discussion to an end as obviously I have not been able to explain the problem and I have the availability (solution) in a couple of other languages and also via assembler (and pokes and peeks), which I am very comfortable with.
Thanks to all for the help and suggestions.