Re: [Ql-Users] Stupid AND

2017-09-21 Thread Wolf via Ql-Users

Hi,



FALSE AND ERROR is FALSE ? That cannot be !


I disagree.

FALSE AND ... whatever  is FALSE since whatever is never evaluated.


FALSE AND ERROR has to be ERROR !!!


Definitely not.




The first condition (a<>0) is NOT met and so, in any other programming
language I use, the second condition isn't even tested, as the result
will be "false" anyway because of this.


So you will ever get big BIG ERRORs...



I'm not sure I understand. The above example makes sure that the error 
doesn't even happen which is the whole reason to write it like that.



SBASIC is better ;-))


In this instance, not to my mind. :-(

Wolfgang
___
QL-Users Mailing List


Re: [Ql-Users] Stupid AND

2017-09-21 Thread Gerhard Plavec via Ql-Users
Am 19.09.17 um 21:27 schrieb Wolfgang Lenerz via Ql-Users

As a=0 at line 30, there is an "ERROR IN EXPRESSION" in the "if" condition
And there is no way to put this expression to "true" or "false" as there is a 
big BIG "ERROR" !!!

> Hi all,
> 
> Just a rant about the SBasic AND operator.
> 
> Suppose this:
> 
> 10 a=0
> 20 b=10
> 30 if (a<>0 AND b/a=5)
> 40   do_something
> 50 end if
> 
> Run it and what happens?
> 
> You get an "overflow" error at line 30.
> You get this error because it is trying to evaluate the second condition 
> (b/a) and failing as a=0 and you can't divide by 0.
> 
> BUT WHY IS IT TRYING TO EVALUATE THE SECOND CONDITION IN THE FIRST PLACE?

Because there is no order for evaluating the first and the second condition in 
the AND operation,
In any way both have to be without any errors.

FALSE AND ERROR is FALSE ? That cannot be !
FALSE AND ERROR has to be ERROR !!!

> The first condition (a<>0) is NOT met and so, in any other programming 
> language I use, the second condition isn't even tested, as the result 
> will be "false" anyway because of this.

So you will ever get big BIG ERRORs...

> Apparently though, Sbasic still also tests the second condition.
> 
> G.
> 
> Wolfgang
> 
> 
> 
SBASIC is better ;-))
> 
> 
> ___
> QL-Users Mailing List
___
QL-Users Mailing List


Re: [Ql-Users] Fw: Stupid AND

2017-09-21 Thread Dave Park via Ql-Users
Well, no it wasn't. And we're all kids of the 80s. Hit us up :D


On Thu, Sep 21, 2017 at 1:41 PM, Ralf Reköndt via Ql-Users <
ql-users@lists.q-v-d.com> wrote:

> Sorry, was private ;-))
>
>
>
> Am 21.09.2017 um 20:40 schrieb Ralf Reköndt:
>
>> Hi Dilwyn,
>>
>> after a very long time, I need again your help in identifying a song
>> text. No need to hurry, if you ever get the time. I think, you may have
>> heard this one in the 80s.
>>
>> Thank you.
>>
>> Cheers...Ralf
>>
>
> ___
> QL-Users Mailing List
>



-- 
Dave Park
d...@sinclairql.com
___
QL-Users Mailing List

Re: [Ql-Users] Fw: Stupid AND

2017-09-21 Thread Ralf Reköndt via Ql-Users

Sorry, was private ;-))


Am 21.09.2017 um 20:40 schrieb Ralf Reköndt:

Hi Dilwyn,

after a very long time, I need again your help in identifying a song 
text. No need to hurry, if you ever get the time. I think, you may 
have heard this one in the 80s.


Thank you.

Cheers...Ralf


___
QL-Users Mailing List

Re: [Ql-Users] Fw: Stupid AND

2017-09-21 Thread Ralf Reköndt via Ql-Users

Hi Dilwyn,

after a very long time, I need again your help in identifying a song 
text. No need to hurry, if you ever get the time. I think, you may have 
heard this one in the 80s.


Thank you.

Cheers...Ralf
___
QL-Users Mailing List


Re: [Ql-Users] QDT

2017-09-21 Thread simon629--- via Ql-Users
Hi can any one help me  I want a full install of QDT not QLE Just QDT and All 
the  QDT Apps and Games OK Thanks simon629 Simon Foster
___
QL-Users Mailing List

Re: [Ql-Users] QMenu v8

2017-09-21 Thread Marcel Kilgus via Ql-Users
Thierry Godefroy via Ql-Users wrote:
> On Thu, 21 Sep 2017 09:19:10 +0200, Giorgio Garabello via Ql-Users wrote:
>> QMenu 7.66 has a lot of problem, ink  color in view_file remains always
>> black, extension filter don't work and some other problems... Qmenu 8,
>> works well..
> Yes, v7.66 is buggy, but v8 is not much better...

My systems use 7.65 without problems, which was the first high colour
version. 7.66 has at least the extension problems that I noticed, too.
I'm not up-to-date what changed in v8.

I'll try to get the sources (and manual), maybe we can address some of
the problems.

Marcel

___
QL-Users Mailing List


Re: [Ql-Users] QMenu v8

2017-09-21 Thread Bob Spelten via Ql-Users
Op Thu, 21 Sep 2017 11:00:45 +0200 schreef Giorgio Garabello via Ql-Users  
:



7.64 support GD2?


No, this was the last mode 4 version.
v7.65 is the first attempt at GD2 compatibility.
IN v8.xx the Long Words that hold the palette parameter in the low bytes,  
also use the high bytes for extra options like timeout.
This should not be a problem when used from S*Basic but may be an issue  
when called from machine code when the high bytes are taken for granted.

This could be why in QDT LSEL does not work properly.

Bob


--
The BSJR QL software site at: "http://members.upc.nl/b.spelten/ql/;
___
QL-Users Mailing List


Re: [Ql-Users] QMenu 7.65

2017-09-21 Thread simon629--- via Ql-Users
Is QMenu 7.65 Any Good OK Thanks simon629 Simon Foster
___
QL-Users Mailing List


Re: [Ql-Users] QMenu v8

2017-09-21 Thread Giorgio Garabello via Ql-Users
7.64 support GD2?

2017-09-21 10:48 GMT+02:00 Thierry Godefroy via Ql-Users <
ql-users@lists.q-v-d.com>:

> On Thu, 21 Sep 2017 09:19:10 +0200, Giorgio Garabello via Ql-Users wrote:
>
> > QMenu 7.66 has a lot of problem, ink  color in view_file remains always
> > black, extension filter don't work and some other problems... Qmenu 8,
> > works well..
>
> Yes, v7.66 is buggy, but v8 is not much better...
>
> In my experience, the only valid QMenu version is 7.64. v8.00 got several
> annoyances and compatibility issues and, IIRC (that was many years ago),
> removed things from its configuration that broke the way I always used
> QMenu, so I rejected it years ago, and religiously (for an atheist,
> that's quite a superlative !) kept v7.64 on all my systems.
>
> Thierry.
> ___
> QL-Users Mailing List
>
___
QL-Users Mailing List


Re: [Ql-Users] QMenu v8

2017-09-21 Thread Thierry Godefroy via Ql-Users
On Thu, 21 Sep 2017 09:19:10 +0200, Giorgio Garabello via Ql-Users wrote:

> QMenu 7.66 has a lot of problem, ink  color in view_file remains always
> black, extension filter don't work and some other problems... Qmenu 8,
> works well..

Yes, v7.66 is buggy, but v8 is not much better...

In my experience, the only valid QMenu version is 7.64. v8.00 got several
annoyances and compatibility issues and, IIRC (that was many years ago),
removed things from its configuration that broke the way I always used
QMenu, so I rejected it years ago, and religiously (for an atheist,
that's quite a superlative !) kept v7.64 on all my systems.

Thierry.
___
QL-Users Mailing List


Re: [Ql-Users] QMenu v8

2017-09-21 Thread Giorgio Garabello via Ql-Users
yes, but probably is a QDT problem..
QMenu 7.66 has a lot of problem, ink  color in view_file remains always
black, extension filter don't work and some other problems... Qmenu 8,
works well..
maybe in QDT the author has done some "tricks" .
Probably the author had to make some adjustments to make it work, which
pggi annoy version 8.

Giorgio

2017-09-20 22:00 GMT+02:00 RWAP Software via Ql-Users <
ql-users@lists.q-v-d.com>:

> The main problem I know of with QMenu v8 is that QDT no longer works
> properly - you cannot create a new program icon in a QDT window
>
>
> Rich Mellor RWAP Software www.rwapsoftware.co.uk www.sellmyretro.com
>
>
> On 2017-09-20 20:51, François Van Emelen via Ql-Users wrote:
>
>> Op 20/09/2017 om 20:32 schreef Dilwyn Jones via Ql-Users:
>>
>>> IIRC, version 8 only worked on recent systems such as QPC2, or at least
>>> had only limited functionality on older ones. V7.66 menu_rext is available
>>> from my website (Programming Utils page) - a manual for either would be
>>> quite welcome since Marcel has confirmed it'd be OK to make it available.
>>>
>>> Dilwyn
>>>
>>> -Original Message- From: Christopher Cave via Ql-Users
>>> Sent: Wednesday, September 20, 2017 7:20 PM
>>> To: ql-us...@q-v-d.com
>>> Cc: Christopher Cave
>>> Subject: Re: [Ql-Users] QMenu v8
>>>
>>> I'm sorry to be so slow but are we talking about the QMenu v8 manual in
>>> front of me?
>>>
>>> Christopher Cave
>>>
>>> mailto:cc...@cix.co.uk
>>>
>>> ___
>>> QL-Users Mailing List
>>>
>>> ---
>>> This email has been checked for viruses by AVG.
>>> http://www.avg.com
>>>
>>> .
>>> ___
>>> QL-Users Mailing List
>>>
>>>
>>> Hi,
>>
>> Just tested qmenu v.8.02
>>
>> It works on qpc, smsqmulator, Black Phoenix .
>>
>> tested this without a problem:
>>
>> fn$="open dbs file" :sg$="QBASE":d$="DEV1_DBSFILES_":x$="_dbs"
>>
>> regards,
>>
>> François Van Emelen
>>
>>
>>
>> ___
>> QL-Users Mailing List
>>
> ___
> QL-Users Mailing List
___
QL-Users Mailing List

Re: [Ql-Users] Qbase

2017-09-21 Thread Daniel Baum via Ql-Users
Hi all,

That's very good news about QMenu.

Anyway, two people have sent me the correct parameters for FILE_SELECT, and
I am coming to the conclusion that version 7.66 ignores the file extension
and always shows all files in a directory. The same is not true of a
version 5 that I also have.

The command that I used is something like
a$=FILE_SELECT$("Open","QBase","win1_qbsrc_","_dbs").
Everything is set up correctly in the dialogue box but there is no
filtering.

I have tried this on QPC2 and Q-Emulator, with no other extensions loaded,
to eliminated some sort of clash.

D

On Wed, Sep 20, 2017 at 2:03 AM, Marcel Kilgus via Ql-Users <
ql-users@lists.q-v-d.com> wrote:

> Daniel Baum via Ql-Users wrote:
> > Yes, but if the API has changed from version to version, then it WILL
> fail
> > for some users who are using a different version to the one that I am
> > writing for in my program.
> >
> > Therefore linking it seems like a good idea.
>
> Unfortunately it isn't because it's not just a basic extension. The
> functionality itself is implemented in globally visible "things" so
> that it can be used from any language, the basic commands are just
> wrappers for them.
>
> So what would probably happen is that the linked copy would overwrite
> any existing "things" with the same names and everything will crash
> once you remove the job again because of dangling pointers.
>
> > Whatever, I will update the program for the latest version and hope
> > for the best.
>
> If you find any bugs we can try to fix them.
>
> >>> The other possibility is to update the QBase code, but for this I would
> >>> need a manual, which seems to be unavailable (is it really still
> >>> commercial?)
>
> No, it isn't, I askes Jochen if I could release QMenu for free and he
> agreed. I just didn't have the manual at hand for release and promptly
> forgot about it.
>
> Marcel
>
> ___
> QL-Users Mailing List
>
___
QL-Users Mailing List