Re: [Ql-Users] Select on

2020-06-19 Thread pjwitte via Ql-Users
On 19/06/2020 10:52, Giorgio Garabello via Ql-Users wrote: "SELect ON" instruction I find it has a major flaw that will not allow you to manage alphanumeric variables, I unfortunately don't know the assemly Would someone be available to create an extension similar to SELECT (e.g. SELECT $)

[Ql-Users] Select on

2020-06-19 Thread Giorgio Garabello via Ql-Users
"SELect ON" instruction I find it has a major flaw that will not allow you to manage alphanumeric variables, I unfortunately don't know the assemly Would someone be available to create an extension similar to SELECT (e.g. SELECT $) capable of handling strings? I understand that it is not simple

Re: [Ql-Users] Select on

2020-06-19 Thread Giorgio Garabello via Ql-Users
For that I think it is easier to implement a new instruction (even an external extension) instead of modifying the current instruction. Il giorno ven 19 giu 2020 alle ore 12:19 pjwitte via Ql-Users < ql-users@lists.q-v-d.com> ha scritto: > On 19/06/2020 10:52, Giorgio Garabello via Ql-Users

Re: [Ql-Users] Select on

2020-06-19 Thread Daniel Baum via Ql-Users
What about doing something like this. In languages like c# the equivalent of the "select on: command is hardly ever used and if .. else if ... else is much more common: 100 INPUT a$ 110 IF a$="a" THEN 115 PRINT "hello a" 120 ELSE 130 IF a$="b" 135 PRINT "hello b" 150 ELSE 155

Re: [Ql-Users] Select on

2020-06-19 Thread pjwitte via Ql-Users
On 19/06/2020 20:02, Daniel Baum via Ql-Users wrote: What about doing something like this. In languages like c# the equivalent of the "select on: command is hardly ever used and if .. else if ... else is much more common: 100 INPUT a$ 110 IF a$="a" THEN 115 PRINT "hello a" 120 ELSE 130