Re: [Ql-Users] Select on

2020-06-20 Thread Derek Stewart via Ql-Users
Hi, Here is my un-subtle attempt, how about summing the ASCII codes for the character string to be selected and use SELect ON to select the option based on the sum total, for example: 10 a$="Goodbye" 15 asum=0 20 FOR a=1 TO LEN(a$): asum=asum+CODE(a) 40 SELect ON asum 50 = 255: REMark

Re: [Ql-Users] QL Today Assembly Language Book.

2020-06-20 Thread Norman Dunbar via Ql-Users
:-) I'll have the nurses check! Cheers, Norm. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. On 20 June 2020 10:05:33 BST, Dilwyn Jones via Ql-Users wrote: >> format of data in registers as having the most significant bit at the >right end >I do certainly hope your

[Ql-Users] QL Today Assembly Language Book.

2020-06-20 Thread Norman Dunbar via Ql-Users
A bug was recently found in section 1.2.1 where I described the format of data in registers as having the most significant bit at the right end. Duh! That has been corrected. If you need a corrected copy, it's the June 2020 release at

Re: [Ql-Users] QL Today Assembly Language Book.

2020-06-20 Thread Dilwyn Jones via Ql-Users
> format of data in registers as having the most significant bit at the right > end I do certainly hope your MSB is at the correct end, Norman :-D (ooer missus...!) Dilwyn ___ QL-Users Mailing List

Re: [Ql-Users] QL Today Assembly Language Book.

2020-06-20 Thread Dave Park via Ql-Users
Norman, At your age you want to watch it. You might show your MSB, and the nurse might think it's your LSB. Dave On Sat, Jun 20, 2020 at 4:16 AM Norman Dunbar via Ql-Users < ql-users@lists.q-v-d.com> wrote: > :-) > > I'll have the nurses check! > > Cheers, > Norm. > -- > Sent from my Android

Re: [Ql-Users] Select on

2020-06-20 Thread Dave Park via Ql-Users
On Sat, Jun 20, 2020 at 3:03 AM Derek Stewart via Ql-Users < ql-users@lists.q-v-d.com> wrote: > Hi, > > Here is my un-subtle attempt, how about summing the ASCII codes for the > character string to be selected and use SELect ON to select the option > based on the sum total, for example: > > 10

Re: [Ql-Users] QL Today Assembly Language Book.

2020-06-20 Thread Dilwyn Jones via Ql-Users
Ha ha ha!!! :) Dilwyn On Sat, 20 Jun 2020 at 13:02, Dave Park via Ql-Users wrote: > > Norman, > > At your age you want to watch it. You might show your MSB, and the nurse > might think it's your LSB. > > Dave > > On Sat, Jun 20, 2020 at 4:16 AM Norman Dunbar via Ql-Users < >

Re: [Ql-Users] Select on

2020-06-20 Thread Jan Bredenbeek via Ql-Users
Op za 20 jun. 2020 14:01 schreef Dave Park via Ql-Users < ql-users@lists.q-v-d.com>: > > > > ooGyebd = Goodbye > goodbye <> Goodbye > > Use a hash algorithm like CRC-16 or CRC-32? ;-) Jan ___ QL-Users Mailing List

Re: [Ql-Users] QL Today Assembly Language Book.

2020-06-20 Thread Norman Dunbar via Ql-Users
Nothing worse! On 20 June 2020 13:02:21 BST, Dave Park via Ql-Users wrote: >Norman, > >At your age you want to watch it. You might show your MSB, and the >nurse >might think it's your LSB. > >Dave > >On Sat, Jun 20, 2020 at 4:16 AM Norman Dunbar via Ql-Users < >ql-users@lists.q-v-d.com> wrote:

Re: [Ql-Users] Select on

2020-06-20 Thread pjwitte via Ql-Users
On 20/06/2020 17:00, Jan Bredenbeek via Ql-Users wrote: Op za 20 jun. 2020 14:01 schreef Dave Park via Ql-Users < ql-users@lists.q-v-d.com>: ooGyebd = Goodbye goodbye <> Goodbye Use a hash algorithm like CRC-16 or CRC-32? ;-) Thats probably the fastest solution so far :o) Maybe overkill