Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Tarak on July 06, 2009, 06:26:40 AM

Title: +, -, * & /
Post by: Tarak on July 06, 2009, 06:26:40 AM
Does anyone else use these variabls on a DRO?
So if the DRO = 32.00 and you select the DRO and enter /2 into that field the remaining value will be 16.
It also works the same for +, and *, but for some reason I can't get the - (minus) to work.
Does anyone know if this is a bug?
Title: Re: +, -, * & /
Post by: Hood on July 06, 2009, 08:45:54 AM
Its not a bug, the reason you cant subtract in the conventional way is because you need the minus symbol so that you can enter a negative value into the DRO.
 To subtract however all you need to do is add a negative number ;)
Hood
Title: Re: +, -, * & /
Post by: Tarak on July 07, 2009, 06:35:29 AM
Hi Hood, Thanks for the reply.
I've noticed that adding a negative value only works for fields that have %+.4f in the format string, is it possible to use it on a DRO that has %.4f as a format string (no positive value).
I only ask because it's a DRO I use for material size, so in the DRO it has 20.0000 not +20.0000.
So it seems that unless I have the + I cannot use the negative calculation, is there a way around this?
Darc
Title: Re: +, -, * & /
Post by: Hood on July 07, 2009, 07:05:00 AM
Afraid it seems not :(
Hood