Re: [Ql-Users] Raspberry Pi - starts

2012-04-25 Thread John Alexander
I think you'll find that I'm the Ql'er with one ;) and have been for nearly 2 
weeks !!

Ner ner  Video links coming up guys!


John Alexander


--- On Mon, 16/4/12, Malcolm Cadman q...@mcad.demon.co.uk wrote:

From: Malcolm Cadman q...@mcad.demon.co.uk
Subject: [Ql-Users] Raspberry Pi - starts
To: ql-us...@q-v-d.com
Date: Monday, 16 April, 2012, 22:19

Hi,

Reading the Raspberry Pi web site - with some interesting videos - the first 
production Pi's have been delivered to a School in Leeds, UK. On Monday 16th 
April 2012.

Delivery of early orders is now expected from Friday 20th April 2012.

I wonder who will be the 'ql-er' to receive one ... :-)

-- Malcolm Cadman
___
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-23 Thread Lee Privett
Google image is very retro today ZX Spectrum anyone
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Raspberry Pi - starts

2012-04-23 Thread tobias.froesc...@t-online.de
more specifically: google.co.uk only

(They don't seem to consider this an international anniversary)

-Original-Nachricht-
Von: Lee Privett lee.priv...@gmail.com
An: ql-us...@q-v-d.com
Betreff: Re: [Ql-Users] Raspberry Pi - starts
Datum: Mon, 23 Apr 2012 15:27:02 +0200

Google image is very retro today ZX Spectrum anyone
___
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-23 Thread Bryan Horstmann

On 23/04/2012 03:15, tobias.froesc...@t-online.de wrote:

more specifically: google.co.uk only

(They don't seem to consider this an international anniversary)

-Original-Nachricht-
Von: Lee Privettlee.priv...@gmail.com
An: ql-us...@q-v-d.com
Betreff: Re: [Ql-Users] Raspberry Pi - starts
Datum: Mon, 23 Apr 2012 15:27:02 +0200

Google image is very retro today ZX Spectrum anyone
___



My Google search shows a St George logo.

Bryan H
UK

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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-23 Thread Malcolm Lear

Well, it seems to be on google.com.

On 23/04/2012 15:23, Bryan Horstmann wrote:

On 23/04/2012 03:15, tobias.froesc...@t-online.de wrote:

more specifically: google.co.uk only

(They don't seem to consider this an international anniversary)

-Original-Nachricht-
Von: Lee Privettlee.priv...@gmail.com
An: ql-us...@q-v-d.com
Betreff: Re: [Ql-Users] Raspberry Pi - starts
Datum: Mon, 23 Apr 2012 15:27:02 +0200

Google image is very retro today ZX Spectrum anyone
___



My Google search shows a St George logo.

Bryan H
UK

___
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-23 Thread Tony firshman
On 23 Apr 2012, at 11:40, Malcolm Lear malc...@essex.ac.uk wrote:
 
 On 23/04/2012 15:23, Bryan Horstmann wrote:
 On 23/04/2012 03:15, tobias.froesc...@t-online.de wrote:
 more specifically: google.co.uk only
 
 (They don't seem to consider this an international anniversary)
 
 -Original-Nachricht-
 Von: Lee Privettlee.priv...@gmail.com
 An: ql-us...@q-v-d.com
 Betreff: Re: [Ql-Users] Raspberry Pi - starts
 Datum: Mon, 23 Apr 2012 15:27:02 +0200
 
 Google image is very retro today ZX Spectrum anyone
 ___
 
 
 My Google search shows a St George logo.
 
 Bryan H


 Well, it seems to be on google.com.
Not when loaded in NH, USA.
We are getting the normal logo.

Tony
-- 
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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-22 Thread Malcolm Cadman
In message 4f92c11b.8080...@dunbar-it.co.uk, Norman Dunbar 
nor...@dunbar-it.co.uk writes



Hi Bryan,

On 21/04/12 10:21, Bryan Horstmann wrote:

The only things I know about Python are from the Cheat Sheet I mentioned
earlier. But where are the equivalent of all the many other S*BASIC
Keywords?


Python isn't S*Basic, so most of the well known and loved S*Basic 
commands and keywords etc will not be there.


Norm.


As Norman says ... it is not a BASIC, so not all the 'helpers' as 
'keywords', like in S*BASIC


Its antecedents are in C/C++, so it more open ended than a BASIC 
programming language.


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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-22 Thread Malcolm Cadman
In message 77845c9e-9410-4678-a5d7-ac1476607...@firshman.co.uk, Tony 
firshman t...@firshman.co.uk writes



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)


Yes, yet he may have cunningly disguised himself, as Bryan, to fool his 
followers ... :-)


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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-22 Thread Malcolm Cadman
In message 4f927160.2090...@dunbar-it.co.uk, Norman Dunbar 
nor...@dunbar-it.co.uk writes


Hi Norman,

Great ... :-) ... we need you to write an easy-peasy Guide to Python!

I have been experimenting with a rather 'old version' - 2.5.2 - dated at 
2008, that I never quite got around to using before the Raspberry Pi 
revival came along.


With the PC Windows version, there is a separate 'interpreter' window 
that runs and compiles, as you say, much like a BASIC. Easy ... :-)


I have just updated to 3.7, on Windows, 32 bit version for my machines.



Morning all,

On 20/04/12 21:40, Dilwyn Jones wrote:

This all sounds very interesting and possibly a fairly straightforward
language for S*BASIC users to learn. I notice there's versions of Python
for Windows as well as Linux etc. Anyone know if a Python program
written on one platform such as Windows, be run on another such as
Linux?
Yes. There's a few ways to run a python program on Linux/Unix either by 
telling the python interpreter the name of the file:


  python filename.py

or by putting this as the first line in the program:

  #!/usr/bin/env python

then making it executable:

  chmod u+x filename.py

then simply calling it:

  ./filename.py

Under windows, only the first option is available and if the program 
contains the #!/usr/bin/env python line, it gets treated as a comment 
and completely ignored.


There's also a python interpreter which sits there and waits for you to 
type something  in, then compiles and executes it.




Guess if the programs are written and saved using a text editor
there's a chance this might be possible, although probably endian issues
might arise with numbers, for example?
There's no problem with endians or numbers etc, well, not those 
problems anyway! There are gotchas to watch out for with numbers:


  print 3 / 4
  0

The '/' operator is equivalent to integer DIV. If you want to get a 
floating point answer, you need to float one or both operands:


  print float(3) / float(4)
  0.75

or

  print float(3) / 4
  0.75

or, simply:

  print 3 / 4.0
  0.75

Python is pretty nifty in it's ability to coerce variables from one 
type to another, so in the above, it sees one float argument and 
coerces the int argument into float and gives back a float answer.


It doesn't coerce strings to floats, or ints:

  print '313' + 300 + '13'

  Traceback (most recent call last):
File pyshell#14, line 1, in module
  print '313' + 300 + '13'
  TypeError: cannot concatenate 'str' and 'int' objects

But you can do it implicitly:

  print int('313') + 300 + int('13')
  626

And not necesarily in base 10 either:

  print int('313', 16) + 300 + int('13', 8)
  1098

Which is obviously 787 + 300 + 11.



Admittedly I know nothing about Python (yet... - it looks interesting)
You may not know Python yet, but you are using it frequently! Calibre, 
your most favourite program of recent times, is written in Python. So 
you can see it's a capable programming language.


The use of indents in interesting. You do do this in Python:

  #!/usr/bin/env python

  Dilwyn = 'Jones'
  Tony = 'Firshman'
  Malcolm = 'Cadman'

  if (Dilwyn == Tony):
  print Tony and Dilwyn and the same person!
  elif (Tony == Malcolm):
  print Clones are people two!
  else:
  print Everyone is an individual.

The colons mark the start of a block, which must be indented (4 spaces 
is the Python standard). The block ends when the indent comes back out.


Typing the file above using into vi was interesting as it understands 
the indentation and did it for me automagically, probably based on the 
file name (ql.py).


In case anyone is wondering, the else clause is executed.

Arrays are the usual stuff but are called lists:

  ql_people = [Dilwyn, Tony, Marcel, Jochen, ]

To print them out, for example:

  for person in ql_people:
  print This person is: $s % person

They can also be dictionaries. These are like lists, but hava an access 
key, and use different open/close brackets:


  ql_people = {'Jones': 'Dilwyn', Firshman: Tony}
  print ql_people['Jones']
  Dilwyn

So, you could use a dictionary to define a record of some sort:

  dj = {'name': 'Dilwyn Jones',
'age': 32,
'nationality': 'Welsh',
'lives in': 'Tal-y-Bont'}

  print dj
  {'nationality': 'Welsh', 'age': 32, 'name': 'Dilwyn Jones',
  'lives in': 'Tal-y-Bont'}

  print dj['lives in']
  Tal-y-Bont

  print dj['name'], dj['age']
  Dilwyn Jones 32

You can even add functions to dictionaries. Then, a step up from 
dictionaries is a class. But I'll not bother with that, I think I've 
warbled on long enough!



For Python beginners there are a couple of decent books, one of which I 
got free from Amazon for my Kindle:


Hello Python: 

Re: [Ql-Users] Raspberry Pi - starts

2012-04-21 Thread Norman Dunbar

Morning all,

On 20/04/12 21:40, Dilwyn Jones wrote:

This all sounds very interesting and possibly a fairly straightforward
language for S*BASIC users to learn. I notice there's versions of Python
for Windows as well as Linux etc. Anyone know if a Python program
written on one platform such as Windows, be run on another such as
Linux?
Yes. There's a few ways to run a python program on Linux/Unix either by 
telling the python interpreter the name of the file:


python filename.py

or by putting this as the first line in the program:

#!/usr/bin/env python

then making it executable:

chmod u+x filename.py

then simply calling it:

./filename.py

Under windows, only the first option is available and if the program 
contains the #!/usr/bin/env python line, it gets treated as a comment 
and completely ignored.


There's also a python interpreter which sits there and waits for you to 
type something  in, then compiles and executes it.



 Guess if the programs are written and saved using a text editor

there's a chance this might be possible, although probably endian issues
might arise with numbers, for example?
There's no problem with endians or numbers etc, well, not those problems 
anyway! There are gotchas to watch out for with numbers:


print 3 / 4
0

The '/' operator is equivalent to integer DIV. If you want to get a 
floating point answer, you need to float one or both operands:


print float(3) / float(4)
0.75

or

print float(3) / 4
0.75

or, simply:

print 3 / 4.0
0.75

Python is pretty nifty in it's ability to coerce variables from one type 
to another, so in the above, it sees one float argument and coerces the 
int argument into float and gives back a float answer.


It doesn't coerce strings to floats, or ints:

print '313' + 300 + '13'

Traceback (most recent call last):
  File pyshell#14, line 1, in module
print '313' + 300 + '13'
TypeError: cannot concatenate 'str' and 'int' objects

But you can do it implicitly:

print int('313') + 300 + int('13')
626

And not necesarily in base 10 either:

print int('313', 16) + 300 + int('13', 8)
1098

Which is obviously 787 + 300 + 11.



Admittedly I know nothing about Python (yet... - it looks interesting)
You may not know Python yet, but you are using it frequently! Calibre, 
your most favourite program of recent times, is written in Python. So 
you can see it's a capable programming language.


The use of indents in interesting. You do do this in Python:

#!/usr/bin/env python

Dilwyn = 'Jones'
Tony = 'Firshman'
Malcolm = 'Cadman'

if (Dilwyn == Tony):
print Tony and Dilwyn and the same person!
elif (Tony == Malcolm):
print Clones are people two!
else:
print Everyone is an individual.

The colons mark the start of a block, which must be indented (4 spaces 
is the Python standard). The block ends when the indent comes back out.


Typing the file above using into vi was interesting as it understands 
the indentation and did it for me automagically, probably based on the 
file name (ql.py).


In case anyone is wondering, the else clause is executed.

Arrays are the usual stuff but are called lists:

ql_people = [Dilwyn, Tony, Marcel, Jochen, ]

To print them out, for example:

for person in ql_people:
print This person is: $s % person

They can also be dictionaries. These are like lists, but hava an access 
key, and use different open/close brackets:


ql_people = {'Jones': 'Dilwyn', Firshman: Tony}
print ql_people['Jones']
Dilwyn

So, you could use a dictionary to define a record of some sort:

dj = {'name': 'Dilwyn Jones',
  'age': 32,
  'nationality': 'Welsh',
  'lives in': 'Tal-y-Bont'}

print dj
{'nationality': 'Welsh', 'age': 32, 'name': 'Dilwyn Jones',
'lives in': 'Tal-y-Bont'}

print dj['lives in']
Tal-y-Bont

print dj['name'], dj['age']
Dilwyn Jones 32

You can even add functions to dictionaries. Then, a step up from 
dictionaries is a class. But I'll not bother with that, I think I've 
warbled on long enough!



For Python beginners there are a couple of decent books, one of which I 
got free from Amazon for my Kindle:


Hello Python: 
http://www.amazon.co.uk/Hello-Python-Anthony-Briggs/dp/1935182080/ref=sr_1_1?s=booksie=UTF8qid=1334995546sr=1-1


Treading On Python Volume 1: 
http://www.amazon.co.uk/Treading-Python-Volume-1-ebook/dp/B00639H0AK/ref=sr_1_8?s=digital-textie=UTF8qid=1334995630sr=1-8


And a free online Python programming course: 
http://learnpythonthehardway.org/book/



It's quite an easy, neat language with many decent features, and (sorry 
Tony) far easier on the eye 

Re: [Ql-Users] Raspberry Pi - starts

2012-04-21 Thread Norman Dunbar

On 20/04/12 23:07, Tony firshman wrote:

One has a first line for Linux - #!/usr/bin/perl/  - which points to the 
compiler.


It's better to use:

#!/usr/bin/env perl

because it's cross distro. Linux is supposed to be standard, but 
different distro's put things in different locations. So, your file may 
not run on my laptop and vice versa if we used the hard coded path to 
the perl compiler (or whatever).


Using /usr/bin/env will find the perl compiler no matter where it lives 
on my $PATH or yours.


Of course, what puzzles me is the fact that I'm being told to avoid hard 
coding paths to perl, or python, or shells etc by hard coding the path 
to env instead - but I rather suspect that env *is* in a standard 
location.



Cheers,
Norm.

--
Norman Dunbar
Dunbar IT Consultants Ltd

Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL

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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-21 Thread Norman Dunbar

On 21/04/12 09:35, Norman Dunbar wrote:

Python is pretty nifty in it's ability to coerce variables

Oh no! The apostrophe! How did it get there? :-(


Cheers,
Norm.

--
Norman Dunbar
Dunbar IT Consultants Ltd

Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL

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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-21 Thread George Gwilt

On 20 Apr 2012, at 21:40, Dilwyn Jones wrote:

 
 I always thought it was a pity superBasic demanded line numbers. They were 
 not actually necessary,
 and if GOTO did not exist, not even used.
 I think QLiberator at least can compile without line numbers (never actually 
 tried that). Perhaps George could tell us if Turbo can too.

Turbo gives three options: omitting line numbers in the compiled program, 
including them without displaying them during compilation and including them as 
well as displaying them.

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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-21 Thread Bryan Horstmann

On 20/04/2012 09:40, Dilwyn Jones wrote:

So like all the BASICS, it is interpreted as it is run.
Not quite the same.  Yes- superBasic runs uncompiled but errors only 
show when they

are encountered.
Python  (and perl - my preference) compiles first, syntax errors show 
then and it stops
with error display - often wildly confusing if things lke closing 
quotes (or a dreaded ';' in

Perl) is missed. Only if it compiles does it run the program.


It will be interesting to see whether this happens, and which 
computer languages actually

then get used.


One of the really great features of python is no {} structure or 
semi-colons - it relies on indenting.
This imposes good layout, which I in fact always attempt in perl ( 
and C).


This all sounds very interesting and possibly a fairly straightforward 
language for S*BASIC users to learn. I notice there's versions of 
Python for Windows as well as Linux etc. Anyone know if a Python 
program written on one platform such as Windows, be run on another 
such as Linux? Guess if the programs are written and saved using a 
text editor there's a chance this might be possible, although probably 
endian issues might arise with numbers, for example? Admittedly I know 
nothing about Python (yet... - it looks interesting)


I always thought it was a pity superBasic demanded line numbers. They 
were not actually necessary,

and if GOTO did not exist, not even used.
I think QLiberator at least can compile without line numbers (never 
actually tried that). Perhaps George could tell us if Turbo can too.


GOTO and GOSUB are one thing, you can usually do without them. What 
about RESTORE line_number though?


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


The only things I know about Python are from the Cheat Sheet I mentioned 
earlier.  But where are the equivalent of all the many other S*BASIC 
Keywords?


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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-21 Thread Derek Stewart

On 21/04/2012 09:35, Norman Dunbar wrote:

Morning all,

On 20/04/12 21:40, Dilwyn Jones wrote:

This all sounds very interesting and possibly a fairly straightforward
language for S*BASIC users to learn. I notice there's versions of Python
for Windows as well as Linux etc. Anyone know if a Python program
written on one platform such as Windows, be run on another such as
Linux?
Yes. There's a few ways to run a python program on Linux/Unix either 
by telling the python interpreter the name of the file:


python filename.py

or by putting this as the first line in the program:

#!/usr/bin/env python

then making it executable:

chmod u+x filename.py

then simply calling it:

./filename.py

Under windows, only the first option is available and if the program 
contains the #!/usr/bin/env python line, it gets treated as a comment 
and completely ignored.


There's also a python interpreter which sits there and waits for you 
to type something  in, then compiles and executes it.



 Guess if the programs are written and saved using a text editor

there's a chance this might be possible, although probably endian issues
might arise with numbers, for example?
There's no problem with endians or numbers etc, well, not those 
problems anyway! There are gotchas to watch out for with numbers:


print 3 / 4
0

The '/' operator is equivalent to integer DIV. If you want to get a 
floating point answer, you need to float one or both operands:


print float(3) / float(4)
0.75

or

print float(3) / 4
0.75

or, simply:

print 3 / 4.0
0.75

Python is pretty nifty in it's ability to coerce variables from one 
type to another, so in the above, it sees one float argument and 
coerces the int argument into float and gives back a float answer.


It doesn't coerce strings to floats, or ints:

print '313' + 300 + '13'

Traceback (most recent call last):
  File pyshell#14, line 1, in module
print '313' + 300 + '13'
TypeError: cannot concatenate 'str' and 'int' objects

But you can do it implicitly:

print int('313') + 300 + int('13')
626

And not necesarily in base 10 either:

print int('313', 16) + 300 + int('13', 8)
1098

Which is obviously 787 + 300 + 11.



Admittedly I know nothing about Python (yet... - it looks interesting)
You may not know Python yet, but you are using it frequently! Calibre, 
your most favourite program of recent times, is written in Python. So 
you can see it's a capable programming language.


The use of indents in interesting. You do do this in Python:

#!/usr/bin/env python

Dilwyn = 'Jones'
Tony = 'Firshman'
Malcolm = 'Cadman'

if (Dilwyn == Tony):
print Tony and Dilwyn and the same person!
elif (Tony == Malcolm):
print Clones are people two!
else:
print Everyone is an individual.

The colons mark the start of a block, which must be indented (4 spaces 
is the Python standard). The block ends when the indent comes back out.


Typing the file above using into vi was interesting as it understands 
the indentation and did it for me automagically, probably based on the 
file name (ql.py).


In case anyone is wondering, the else clause is executed.

Arrays are the usual stuff but are called lists:

ql_people = [Dilwyn, Tony, Marcel, Jochen, ]

To print them out, for example:

for person in ql_people:
print This person is: $s % person

They can also be dictionaries. These are like lists, but hava an 
access key, and use different open/close brackets:


ql_people = {'Jones': 'Dilwyn', Firshman: Tony}
print ql_people['Jones']
Dilwyn

So, you could use a dictionary to define a record of some sort:

dj = {'name': 'Dilwyn Jones',
  'age': 32,
  'nationality': 'Welsh',
  'lives in': 'Tal-y-Bont'}

print dj
{'nationality': 'Welsh', 'age': 32, 'name': 'Dilwyn Jones',
'lives in': 'Tal-y-Bont'}

print dj['lives in']
Tal-y-Bont

print dj['name'], dj['age']
Dilwyn Jones 32

You can even add functions to dictionaries. Then, a step up from 
dictionaries is a class. But I'll not bother with that, I think I've 
warbled on long enough!



For Python beginners there are a couple of decent books, one of which 
I got free from Amazon for my Kindle:


Hello Python: 
http://www.amazon.co.uk/Hello-Python-Anthony-Briggs/dp/1935182080/ref=sr_1_1?s=booksie=UTF8qid=1334995546sr=1-1


Treading On Python Volume 1: 
http://www.amazon.co.uk/Treading-Python-Volume-1-ebook/dp/B00639H0AK/ref=sr_1_8?s=digital-textie=UTF8qid=1334995630sr=1-8


And a free online Python programming course: 
http://learnpythonthehardway.org/book/



It's quite an easy, neat language with many decent features, and 
(sorry Tony) far easier on the eye than Perl!


Linux users probably already have Python 2.x installed. Python 3.0 is 
coming/available but changes quite a lot.


Windows users can get an installer from 

Re: [Ql-Users] Raspberry Pi - starts

2012-04-21 Thread Ralf Reköndt
I think, that wasn't the question. Don't confuse this with QLiberator's 
option Line Numbers.


As far as I know, QLiberator does not need line numbers, but this is not 
possible via the interpreter. It is in fact possible with the QD5 Thing to 
compile source code without line numbers.


I think, Turbo is just able to compile a loaded SuperBASIC program, so no 
way to compile without line numbers. QLiberator always compile from a QSAVEd 
file (or QD5 Thing).


Cheers...Ralf


- Original Message - 
From: George Gwilt grggw...@gmail.com

To: ql-us...@q-v-d.com
Sent: Saturday, April 21, 2012 10:46 AM
Subject: Re: [Ql-Users] Raspberry Pi - starts




On 20 Apr 2012, at 21:40, Dilwyn Jones wrote:



I always thought it was a pity superBasic demanded line numbers. They 
were not actually necessary,

and if GOTO did not exist, not even used.
I think QLiberator at least can compile without line numbers (never 
actually tried that). Perhaps George could tell us if Turbo can too.


Turbo gives three options: omitting line numbers in the compiled program, 
including them without displaying them during compilation and including 
them as well as displaying them.


George
___
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-21 Thread George Gwilt

On 21 Apr 2012, at 11:42, Ralf Reköndt wrote:

 I think, that wasn't the question. Don't confuse this with QLiberator's 
 option Line Numbers.
 
 As far as I know, QLiberator does not need line numbers, but this is not 
 possible via the interpreter. It is in fact possible with the QD5 Thing to 
 compile source code without line numbers.
 
 I think, Turbo is just able to compile a loaded SuperBASIC program, so no way 
 to compile without line numbers. QLiberator always compile from a QSAVEd file 
 (or QD5 Thing).

Turbo compiles from the tokenised SuperBASIC program.

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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-21 Thread Ralf Reköndt

Yes, but always from a loaded SuperBASIC program... ;-)


Turbo compiles from the tokenised SuperBASIC program.

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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-21 Thread Bob Spelten

Op Sat, 21 Apr 2012 12:42:05 +0200 schreef Ralf Reköndt
ralf.rekoe...@t-online.de:

I think, that wasn't the question. Don't confuse this with QLiberator's  
option Line Numbers.


As far as I know, QLiberator does not need line numbers, but this is not  
possible via the interpreter. It is in fact possible with the QD5 Thing  
to compile source code without line numbers.


I think, Turbo is just able to compile a loaded SuperBASIC program, so  
no way to compile without line numbers. QLiberator always compile from a  
QSAVEd file (or QD5 Thing).


Cheers...Ralf

- Original Message - From: George Gwilt grggw...@gmail.com
To: ql-us...@q-v-d.com
Sent: Saturday, April 21, 2012 10:46 AM
Subject: Re: [Ql-Users] Raspberry Pi - starts


On 20 Apr 2012, at 21:40, Dilwyn Jones wrote:



I always thought it was a pity superBasic demanded line numbers. They  
were not actually necessary,

and if GOTO did not exist, not even used.
I think QLiberator at least can compile without line numbers (never  
actually tried that). Perhaps George could tell us if Turbo can too.


Turbo gives three options: omitting line numbers in the compiled  
program, including them without displaying them during compilation and  
including them as well as displaying them.


George


QD can be used to write SBasic without bothering about line numbers.
GOTO's and GOSUB's can easily be avoided.
The SBAS/QD thing lets me test-run it from there.

I use BasicLinker to call Qliberator, this will add line numbers for the
_sav file, which can be stripped again by Qlib.
This also takes care of multiple RESTORE commands, as long as they are the
only command on that line.

Bob

--
The BSJR QL software site at: http://members.upc.nl/b.spelten/ql/
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Raspberry Pi - starts

2012-04-21 Thread Norman Dunbar

Hi Derek,


Why get the source to Python and produce a specific version for Sbasic.
Because we can? I suppose we could, after all, we have C68 for QDOSMSQ 
why not Python?


It would be a separate language though, not something to compile S*Basic.


I suppose we could produce sPython, which would run / compile Sbasic
source code. But there would have be a facility to add extensions and
Toolkits to it.
Python is a language in it's own right, like C or Basic or Assembly. 
S*Basic syntax etc will not be compatible with Python. (Unless someone 
builds a translator of course.)



...




I use Mint 12, which has Python 3 built in on installation, been using
this for a while now, all very nice and very similiar to Sbasic/Superbasic.
I too have Mint 12 and my Python shows 2.7.2+ but maybe there was an 
option at install time to select Python 2.x or 3.x. Even on the Python 
web site they advise sticking with 2,x as there are more programs 
compatible with that version.



Cheers,
Norm.

--
Norman Dunbar
Dunbar IT Consultants Ltd

Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL

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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-21 Thread Norman Dunbar

Hi Bryan,

On 21/04/12 10:21, Bryan Horstmann wrote:

The only things I know about Python are from the Cheat Sheet I mentioned
earlier. But where are the equivalent of all the many other S*BASIC
Keywords?
Python isn't S*Basic, so most of the well known and loved S*Basic 
commands and keywords etc will not be there.



Cheers,
Norm.
--
Norman Dunbar
Dunbar IT Consultants Ltd

Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL

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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-20 Thread Malcolm Cadman
In message 4f8fe256.8070...@newlan.org, Bryan Horstmann 
b...@newlan.org writes


Hi Bryan,

Yes, every computer language has its own way of doing things, hence the 
variety.


Python seems to be in the middle ground, where it has features like the 
more complex C/C++ and Pascal, etc, and yet you do not have to all of 
that endless 'compiling' to see a result.


So like all the BASICS, it is interpreted as it is run.

One of the aims of the Pi, is to encourage programming, again, to users 
and especially younger users. To see a quick result.


It will be interesting to see whether this happens, and which computer 
languages actually then get used.



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


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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-20 Thread Tony firshman


On 19 Apr 2012, at 15:10, Malcolm Cadman q...@mcad.demon.co.uk wrote:

 In message 4f8fe256.8070...@newlan.org, Bryan Horstmann b...@newlan.org 
 writes
 
 Hi Bryan,
 
 Yes, every computer language has its own way of doing things, hence the 
 variety.
 
 Python seems to be in the middle ground, where it has features like the more 
 complex C/C++ and Pascal, etc, and yet you do not have to all of that endless 
 'compiling' to see a result.
 
 So like all the BASICS, it is interpreted as it is run.
Not quite the same.  Yes- superBasic runs uncompiled but errors only show when 
they are encountered.
Python  (and perl - my preference) compiles first, syntax errors show then and 
it stops with error display - often wildly confusing if things lke closing 
quotes (or a dreaded ';' in Perl) is missed. Only if it compiles does it run 
the program.
 
 
 One of the aims of the Pi, is to encourage programming, again, to users and 
 especially younger users. To see a quick result.
 
 It will be interesting to see whether this happens, and which computer 
 languages actually then get used.
 
One of the really great features of python is no {} structure or semi-colons - 
it relies on indenting. This imposes good layout, which I in fact always 
attempt in perl ( and C).

I always thought it was a pity superBasic demanded line numbers. They were not 
actually necessary, and if GOTO did not exist, not even used.
 
Tony

-- 
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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-20 Thread Dilwyn Jones

So like all the BASICS, it is interpreted as it is run.
Not quite the same.  Yes- superBasic runs uncompiled but errors only show 
when they

are encountered.
Python  (and perl - my preference) compiles first, syntax errors show then 
and it stops
with error display - often wildly confusing if things lke closing quotes 
(or a dreaded ';' in

Perl) is missed. Only if it compiles does it run the program.


It will be interesting to see whether this happens, and which computer 
languages actually

then get used.


One of the really great features of python is no {} structure or 
semi-colons - it relies on indenting.

This imposes good layout, which I in fact always attempt in perl ( and C).

This all sounds very interesting and possibly a fairly straightforward 
language for S*BASIC users to learn. I notice there's versions of Python for 
Windows as well as Linux etc. Anyone know if a Python program written on one 
platform such as Windows, be run on another such as Linux? Guess if the 
programs are written and saved using a text editor there's a chance this 
might be possible, although probably endian issues might arise with numbers, 
for example? Admittedly I know nothing about Python (yet... - it looks 
interesting)


I always thought it was a pity superBasic demanded line numbers. They were 
not actually necessary,

and if GOTO did not exist, not even used.
I think QLiberator at least can compile without line numbers (never actually 
tried that). Perhaps George could tell us if Turbo can too.


GOTO and GOSUB are one thing, you can usually do without them. What about 
RESTORE line_number though?


Dilwyn 


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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-20 Thread Tony firshman


On 20 Apr 2012, at 16:40, Dilwyn Jones dil...@evans1511.fsnet.co.uk wrote:

 So like all the BASICS, it is interpreted as it is run.
 Not quite the same.  Yes- superBasic runs uncompiled but errors only show 
 when they
 are encountered.
 Python  (and perl - my preference) compiles first, syntax errors show then 
 and it stops
 with error display - often wildly confusing if things lke closing quotes (or 
 a dreaded ';' in
 Perl) is missed. Only if it compiles does it run the program.
 
 It will be interesting to see whether this happens, and which computer 
 languages actually
 then get used.
 
 One of the really great features of python is no {} structure or semi-colons 
 - it relies on indenting.
 This imposes good layout, which I in fact always attempt in perl ( and C).
 
 This all sounds very interesting and possibly a fairly straightforward 
 language for S*BASIC users to learn. I notice there's versions of Python for 
 Windows as well as Linux etc. Anyone know if a Python program written on one 
 platform such as Windows, be run on another such as Linux? Guess if the 
 programs are written and saved using a text editor there's a chance this 
 might be possible, although probably endian issues might arise with numbers, 
 for example? Admittedly I know nothing about Python (yet... - it looks 
 interesting)
I don't really know python, but I am sure it is much like perl.

One has a first line for Linux - #!/usr/bin/perl/ - which points to the 
compiler.
Under windows one uses 'perl program name' - and it ignores the pointer, as it 
is a comment!
Any extra modules needed are loaded using 'include', again at the beginning.
There will be no issues with the code as long as these modules are there - 
usually.  However, especially in the area of gt lt etc, syntx changed. These 
languages though seem to be backward compatible in the main.
I always write witth a text editor, often on a different platform.
 
 I always thought it was a pity superBasic demanded line numbers. They were 
 not actually necessary,
 and if GOTO did not exist, not even used.
 I think QLiberator at least can compile without line numbers (never actually 
 tried that). Perhaps George could tell us if Turbo can too.
 
 GOTO and GOSUB are one thing, you can usually do without them. What about 
 RESTORE line_number though?
 
Ah I didn't know about that one, and have never used it.
 
Tony

-- 
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


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] 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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-18 Thread Norman Dunbar

On 17/04/12 20:33, John Alexander wrote:

My RPi arrived yesterday ;)

I don't know you personally John, but I think I hate you already! ;-)

Have fun with your Pi.


Cheers,
Norm.

--
Norman Dunbar
Dunbar IT Consultants Ltd

Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL

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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-18 Thread Bryan Horstmann
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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-17 Thread Lee Privett
Someone already has atleast one emulator running on the Pi

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




On Tue, Apr 17, 2012 at 1:00 AM, Tony Firshman t...@firshman.co.uk wrote:



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

  Hi,
 
  Reading the Raspberry Pi web site - with some interesting videos - the
 first production Pi's have been delivered to a School in Leeds, UK. On
 Monday 16th April 2012.
 
  Delivery of early orders is now expected from Friday 20th April 2012.
 
  I wonder who will be the 'ql-er' to receive one ... :-)
 

 I am in the USA until the 25th, so it would be really ironic if mine
 arrived before then.

 Tony
 --
 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] Raspberry Pi - starts

2012-04-17 Thread Dilwyn Jones

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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-17 Thread John Alexander
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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-17 Thread Malcolm Cadman
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


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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-17 Thread Malcolm Cadman
In message 
CAKAuk+BD2k81X3Uq+fH3qbsRJx+G1Vi=c+qf_j+gjz0hmso...@mail.gmail.com, 
Lee Privett lee.priv...@gmail.com writes


Hi Lee,

Yes, I guess the fun is starting ... :-)


Someone already has atleast one emulator running on the Pi

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




On Tue, Apr 17, 2012 at 1:00 AM, Tony Firshman t...@firshman.co.uk wrote:




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

 Hi,

 Reading the Raspberry Pi web site - with some interesting videos - the
first production Pi's have been delivered to a School in Leeds, UK. On
Monday 16th April 2012.

 Delivery of early orders is now expected from Friday 20th April 2012.

 I wonder who will be the 'ql-er' to receive one ... :-)


I am in the USA until the 25th, so it would be really ironic if mine
arrived before then.

Tony
--
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


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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-17 Thread Malcolm Cadman
In message b87bf53a-b12f-4f0f-a5bc-5ae4e1c27...@firshman.co.uk, Tony 
Firshman t...@firshman.co.uk writes



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


Hi,

Reading the Raspberry Pi web site - with some interesting videos - 
the first production Pi's have been delivered to a School in Leeds, 
UK. On Monday 16th April 2012.


Delivery of early orders is now expected from Friday 20th April 2012.

I wonder who will be the 'ql-er' to receive one ... :-)



I am in the USA until the 25th, so it would be really ironic if mine 
arrived before then.


Tony


Hi Tony,

Knowing life ... it will probably be delivered at home before you get 
back.

Then, again, I guess your son will already then be using it, too ... :-)

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


Re: [Ql-Users] Raspberry Pi - starts

2012-04-16 Thread Tony Firshman


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

 Hi,
 
 Reading the Raspberry Pi web site - with some interesting videos - the first 
 production Pi's have been delivered to a School in Leeds, UK. On Monday 
 16th April 2012.
 
 Delivery of early orders is now expected from Friday 20th April 2012.
 
 I wonder who will be the 'ql-er' to receive one ... :-)
 

I am in the USA until the 25th, so it would be really ironic if mine arrived 
before then.

Tony
-- 
 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