hi, i tried to do the DELLIN thing, am i going to loop and delete the line, line by line?
quote from iup 3.5 chm file, DELLIN (write-only): Removes the given line from the matrix. To remove more than one line, use format "L-L", where the first number corresponds to the base line and the second number corresponds to the number of lines to be removed. It is valid only in normal operation mode. Can NOT remove a title line, L>0. Ignored if set before map. i tried to DELLIN 2:5, i guess it means, delete 5 lines below line 2 (including line 2), so line 2, 3, 4, 5 and 6 will get deleted but when i do the cinvoke IupSetAttributes,[math],<'0:1="0:1",1:1="1:1",2:1="2:1",3:1="3:1",4:1="4:1",5:1="5:1",6:1="6:1",7:1="7:1",8:1="8:1"'> cinvoke wsprintf,buff,'2:5' cinvoke IupSetAttribute,[math],'DELLIN',buff i only get line 2 deleted. the help file mentioned about normal operation mode, what is that mode? and what is other than normal operation mode? sorry i think it is kinda confusing, was thinking if we do the below, we could delete the whole lines cinvoke IupGetInt,[math],"NUMLIN" cinvoke wsprintf,buff,'1:%i',eax cinvoke IupSetAttribute,[math],'DELLIN',buff sorry, English is my second/third language. thank you. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
