Re: Hex to Decimal 2s Complement

2018-04-27 Thread Camm via use-livecode
should know this - but don't any more :-) So there may be a corner case to fix up - but in general, something like *put*thetextoffld"F"intotemp* put*baseconvert(temp,16,10) intot1* if* t1 > 32767*then* *put*t1-65536intot1* end* *if* should do it. -- Alex. On 27/04/2018 10:27

Re: Hex to Decimal 2s Complement

2018-04-27 Thread Camm via use-livecode
Richmond , Yes , thanks I have seen xor(Hex) +1 , but just asking if anyone has a solution ? FFCC = -52 014A = 330 Anyone ? Regards Camm - Original Message - From: "Richmond via use-livecode" To: "Camm via use-livecode" Cc: "Richmond" Sent: Frid

Re: Hex to Decimal 2s Complement

2018-04-27 Thread Camm via use-livecode
ement with respect to 2N. For instance, for the three-bit number 010, the two's complement is 110, because 010 + 110 = 1000. Regards Camm - Original Message - From: "Richmond via use-livecode" To: "Camm via use-livecode" Cc: "Richmond" Sent: Friday, 2

Re: Hex to Decimal 2s Complement

2018-04-27 Thread Camm via use-livecode
Richmond , Tried baseconvert but could not get the correct result for 2s Complement. Regards Camm - Original Message - From: "Richmond via use-livecode" To: "Camm via use-livecode" Cc: "Richmond" Sent: Friday, 27 April, 2018 10:01:17 AM Subject: Re

Hex to Decimal 2s Complement

2018-04-27 Thread Camm via use-livecode
Hi , Help needed on the most efficient way to convert signed Hex to Decimal (2s Complement) range - Example :- FFCC = -52 014A = 330 Kind Regards Camm ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit t

Duplicate Card

2017-10-04 Thread Camm via use-livecode
Hi , Is Duplicate card broke in 8.1.6 ? I get Duplicate card highlighted then when pressed the duplicate does not appear ? Regards Camm ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubs

RE: RIP Dan Shafer

2017-06-22 Thread Camm via use-livecode
It was his book that got me started with Revolution ! Thanks to him i'm hooked , RIP and sorry for the loss. Camm -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Jim Lambert via use-livecode Sent: 22 June 2017 19:55 To: use-livecode@list

RE: AW: Which code signing authority?

2017-04-23 Thread Camm via use-livecode
Second that ! -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of tbodine via use-livecode Sent: 21 April 2017 14:17 To: use-revolut...@lists.runrev.com Cc: tbodine Subject: Re: AW: Which code signing authority? I've been using K Software's Co