1. removing contents
- Posted by Mike Fowler <stoner at NELSUN.GEN.NZ> Apr 15, 1997
- 890 views
MF> mb = append(mb, {x1, y1, x2, y2, "button_name", button_signature} MF> that's all okay, BUT... if I try: MF> mb = {} MF> i get an error and it wont do it. Any ideas?? DG> I'm not too sure why that is not working because you can append to DG> the end of a null sequence. You shouldn't get an error message just DG> because it's null. Include the contents of EX.ERR as an attachment DG> to your next reply and let us see. good idea in theory... but im waiting for the win version of Euphoria before i register, and my code is damn near 1000 lines long. dammit! .. but I have solved it in a really crude sort of way: -- function delete(sequence thing) thing = {} return thing end function mb = delete{mb} -- long, but it works. It should just remove all the contents when mb = {} is called, but no. Damn. anyway thanks for replying so quickly :)+< Mike Fowler - mike.fowler at nelsun.gen.nz o__ --- _,>/'_ --- (_) \(_) --- Tips for the month: Bill your dentist for your time in surgery.