Germán Arias <ger...@xelalug.org> writes: > On vie, 2010-09-17 at 18:50 +0200, Csanyi Pal wrote:
>> [code] >> NSString *title = [sender title]; >> >> if ([title isEqualToString: @"1"]) >> { >> [StatLine setStringValue: @"write logical 1 to the data port"]; >> } >> else if ([title isEqualToString: @"0"]) >> { >> [StatLine setStringValue: @"write logical 0 to the data port"]; >> } >> [/code] > I think you can solve this using tags. Something like: > > <botton title="something" tag=1 /> Thanks, but still can't understand why doesn't works the above code in the case when 'title isEqualToString: @"0"]' ? I believe that that this code should work.. -- Regards, Paul Chany http://www.debian.org http://wiki.debian.org/DebianEdu http://csanyi-pal.info _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep