Re: [Ql-Users] SMSQE java

2012-04-19 Thread Wolfgang Lenerz

 BTW: How do I create a fresh QXL.WIN...?

Under qpc:

win_format x
format winx_y

(y= nbr of Mib)

Wolfgang
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Raspberry Pi - starts

2012-04-19 Thread Bryan Horstmann
I've had a look at Python too, Malcolm, and found Python Languages  
Syntax Cheat Sheet.  Under basic arithmetic it says i=a%b   e.g.  11%3 
 2  I cannot make sense of that.  I'll just hope that we can get an 
emulator and stick to SBASIC I know.  But if RS have 220,000 outstanding 
orders, it'll be some time before I get one!


Bryan H.


On 17/04/2012 10:37, Malcolm Cadman wrote:
In message 
1334691190.17608.yahoomailclas...@web29403.mail.ird.yahoo.com, John 
Alexander acontractor...@yahoo.co.uk writes


Hi John,

Well done ... I guess you may be the first on this list ... :-)

In the meantime, I am starting to getting around to learning the 
Python programming language.


As you may guess, the link between Pi and Python names is not 
accidental in all this, either. As Python is the preferred programming 
language for the Pi. Well at least at this early stage.


For those who do not program, it also no accident that the Python 
programming language is directly termed after the Monty Python comedy.


The Tutorial with the Version that I have, on a PC, gets in early with 
a variable definition termed SPAM ... which is an obvious reference 
to one well known comedic sketch.


I guess that this will open up everyone's imagination and humour, too 
.




My RPi arrived yesterday ;)

http://youtu.be/6X2P7sVL-wU

--- On Tue, 17/4/12, Dilwyn Jones dil...@evans1511.fsnet.co.uk wrote:

From: Dilwyn Jones dil...@evans1511.fsnet.co.uk
Subject: Re: [Ql-Users] Raspberry Pi - starts
To: ql-us...@q-v-d.com
Date: Tuesday, 17 April, 2012, 18:33

Lee Privett wrote:


Someone already has atleast one emulator running on the Pi

http://www.raspberrypi.org/wp-content/uploads/2012/04/simcoupe.jpg

Looks good, but a QL emulator would be even better!

Dilwyn
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm




___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Raspberry Pi - starts

2012-04-19 Thread Miguel Angel Rodriguez Jodar

El 19/04/2012 12:00, Bryan Horstmann escribió:

I've had a look at Python too, Malcolm, and found Python Languages  Syntax
Cheat Sheet. Under basic arithmetic it says i=a%b e.g. 11%3  2 I cannot make
sense of that.


That's the modulus operator, as in C language. The binary operator a%b returns 
the remainder of the integer division between a and b. It's equivalent to 
the MOD function in SBASIC.


For example, 11%3 returns 2 because 11 divided by 3 gives 3 and remainder 2.

It's a very powerfull operator to perform modular aritmethic. For example, 
imagine that you want to calculate fast sine functions, and to to that, you have 
set up a table with 360 numbers, indexed from 0 to 359. Element with index i 
will contain the sine of i (with i expressed in degrees).


Then, for an arbitrary (positive integer) angle, you can do something like:

sineofi = sinetable[i%360];

The index expression inside the brackets will wrap around 360, giving you 
0,1,2,...,358,359,0,1,

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Raspberry Pi - starts

2012-04-19 Thread Tony Firshman


On 19 Apr 2012, at 06:00, Bryan Horstmann b...@newlan.org wrote:

 I've had a look at Python too, Malcolm, and found Python Languages  Syntax 
 Cheat Sheet.  Under basic arithmetic it says i=a%b   e.g.  11%3  2  I 
 cannot make sense of that.  I'll just hope that we can get an emulator and 
 stick to SBASIC I know.  But if RS have 220,000 outstanding orders, it'll be 
 some time before I get one!
 
I bet this includes a lot of duplicate 'registration of interest '  They still 
have not even asked if I even want to place an order, which I don't.  In fact 
succesfully placed an order with Farnell on the second day.

Tony
 Bryas
Nice to misprint ones own name! Well unless I altered it by mistake. I quite 
often type 'Tiny'!
-- 
 t...@firshman.co.uk http://firshman.co.uk
Voice: +44(0)1442-828254  Fax: +44(0)1442-828255 Skype: tonyfirshman
   TF Services, 29 Longfield Road, Tring, Herts, HP23 4DG


___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Raspberry Pi - starts

2012-04-19 Thread Lee Privett
ditto

On Thu, Apr 19, 2012 at 1:34 PM, Tony Firshman t...@firshman.co.uk wrote:



 On 19 Apr 2012, at 06:00, Bryan Horstmann b...@newlan.org wrote:

  I've had a look at Python too, Malcolm, and found Python Languages 
 Syntax Cheat Sheet.  Under basic arithmetic it says i=a%b   e.g.  11%3 
 2  I cannot make sense of that.  I'll just hope that we can get an
 emulator and stick to SBASIC I know.  But if RS have 220,000 outstanding
 orders, it'll be some time before I get one!
 
 I bet this includes a lot of duplicate 'registration of interest '  They
 still have not even asked if I even want to place an order, which I don't.
  In fact succesfully placed an order with Farnell on the second day.

 Tony
  Bryas
 Nice to misprint ones own name! Well unless I altered it by mistake. I
 quite often type 'Tiny'!
 --
 t...@firshman.co.uk http://firshman.co.uk
 Voice: +44(0)1442-828254  Fax: +44(0)1442-828255 Skype: tonyfirshman
TF Services, 29 Longfield Road, Tring, Herts, HP23 4DG


 ___
 QL-Users Mailing List
 http://www.q-v-d.demon.co.uk/smsqe.htm

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] SMSQE java

2012-04-19 Thread Ralf Reköndt
Ah, thank you. I wasn't aware (after such a long time doing it) that the 
FORMAT just creates the QXL.WIN ;-)


Cheers...Ralf

- Original Message - 
From: Wolfgang Lenerz w...@scp-paulet-lenerz.com

To: ql-us...@q-v-d.com
Sent: Thursday, April 19, 2012 8:43 AM
Subject: Re: [Ql-Users] SMSQE  java



 BTW: How do I create a fresh QXL.WIN...?

Under qpc:

win_format x
format winx_y

(y= nbr of Mib)

Wolfgang
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm 


___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Raspberry Pi - starts

2012-04-19 Thread Bryan Horstmann

On 19/04/2012 12:03, Miguel Angel Rodriguez Jodar wrote:

El 19/04/2012 12:00, Bryan Horstmann escribió:
I've had a look at Python too, Malcolm, and found Python Languages  
Syntax
Cheat Sheet. Under basic arithmetic it says i=a%b e.g. 11%3  2 I 
cannot make

sense of that.


That's the modulus operator, as in C language. The binary operator a%b 
returns the remainder of the integer division between a and b. 
It's equivalent to the MOD function in SBASIC.


For example, 11%3 returns 2 because 11 divided by 3 gives 3 and 
remainder 2.


It's a very powerfull operator to perform modular aritmethic. For 
example, imagine that you want to calculate fast sine functions, and 
to to that, you have set up a table with 360 numbers, indexed from 0 
to 359. Element with index i will contain the sine of i (with i 
expressed in degrees).


Then, for an arbitrary (positive integer) angle, you can do something 
like:


sineofi = sinetable[i%360];

The index expression inside the brackets will wrap around 360, giving 
you 0,1,2,...,358,359,0,1,

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Thanks Miguel.  I've no knowledge of C and my scientific calculator 
wouldn't accept it.


Bryan H
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Raspberry Pi - starts

2012-04-19 Thread Malcolm Cadman
In message 4f8e8d97.7070...@newlan.org, Bryan Horstmann 
b...@newlan.org writes


Hi Bryan,

Thanks for the link.

I believe that everything is covered within functions, yet I haven't 
programmed enough with Python to see if that is an advantage or a 
limitation.


PS - You are not the Bryan, named in a Python film, are you? ... :-)


I've come across this which might be useful.   I see functions but not 
procedures.

http://cottagelabs.com/python-language-syntax-cheat-sheet/

Bryan H


On 17/04/2012 10:37, Malcolm Cadman wrote:
In message 
1334691190.17608.yahoomailclas...@web29403.mail.ird.yahoo.com, John 
Alexander acontractor...@yahoo.co.uk writes


Hi John,

Well done ... I guess you may be the first on this list ... :-)

In the meantime, I am starting to getting around to learning the 
Python programming language.


As you may guess, the link between Pi and Python names is not 
accidental in all this, either. As Python is the preferred programming 
language for the Pi. Well at least at this early stage.


For those who do not program, it also no accident that the Python 
programming language is directly termed after the Monty Python comedy.


The Tutorial with the Version that I have, on a PC, gets in early 
with  a variable definition termed SPAM ... which is an obvious 
reference  to one well known comedic sketch.


I guess that this will open up everyone's imagination and humour, too 
.




My RPi arrived yesterday ;)

http://youtu.be/6X2P7sVL-wU

--- On Tue, 17/4/12, Dilwyn Jones dil...@evans1511.fsnet.co.uk wrote:

From: Dilwyn Jones dil...@evans1511.fsnet.co.uk
Subject: Re: [Ql-Users] Raspberry Pi - starts
To: ql-us...@q-v-d.com
Date: Tuesday, 17 April, 2012, 18:33

Lee Privett wrote:


Someone already has atleast one emulator running on the Pi

http://www.raspberrypi.org/wp-content/uploads/2012/04/simcoupe.jpg

Looks good, but a QL emulator would be even better!

Dilwyn
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm




___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


--
Malcolm Cadman
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Raspberry Pi - starts

2012-04-19 Thread Tony firshman


On 18 Apr 2012, at 17:31, Malcolm Cadman q...@mcad.demon.co.uk wrote:

 In message 4f8e8d97.7070...@newlan.org, Bryan Horstmann b...@newlan.org 
 writes
 
 Hi Bryan,
 
 Thanks for the link.
 
 I believe that everything is covered within functions, yet I haven't 
 programmed enough with Python to see if that is an advantage or a limitation.
 
 PS - You are not the Bryan, named in a Python film, are you? ... :-)
Silly - that was 'Brian' (8-)#

Tony
(Looking on the bright side of life)
-- 
t...@firshman.co.ukhttp://firshman.co.uk  
Voice: +44 (0) 1442 828254  Fax: +44 (0) 1442 828255. Skype: tony firshman 
TF Services, 29 Longfield Road, Tring, Herts, HP23 4DG

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm