The FOP_xxx functions (and all similar TK2 things) always tried to use the
Data default next, if a direct call was unsuccessful.
So, if I try to check Win1_test_, and it does not exist, Win1_ is checked
next (if Data default), which is very likely to be successful.
So you can't be sure, that
Op Sat, 21 Apr 2012 16:10:15 +0200 schreef Ralf Reköndt
:
Hmm, but the TK2 Manual states about OPEN_DIR, so, apart from Level 2,
it should be possible. But what kind of directory, if not Level 2?
Perhaps just the root one.
Section 10 Open and Close
The standard QL channel OPEN commands
Afternoon Dave,
On 20/04/12 09:18, Dave Walker wrote:
The strfnd function is not a standard function in C so any you come
> across are implementation defined. I am guessing that your code has
> one with different semantics to the library one (which if I remember
> correctly is based on the La
Yes.
From: "Tony firshman"
(Fom TK2 manual...)
CLOSE #channelsclose channels
What is the syntax?
close #2,#3 ?
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm
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
On 21 Apr 2012, at 10:10, Ralf Reköndt wrote:
>
>
>CLOSE #channelsclose channels
>
What is the syntax?
close #2,#3 ?
Tony
--
t...@firshman.co.ukhttp://firshman.co.uk
Voice: +44 (0) 1442 828254 Fax: +44 (0) 1442 828255. Skype: tony firshman
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 woul
Some years back QLToday wrote about testing the machine you are using by
reading the sys_vars (PEEK (sv +167)).
The test on Q-emulator returns zero, as the standard QL, so this could be
used to assume there is no Level2 device.
This number is held in the 5 lowest bits, I believe 14, 15, 18 to 23,
Hmm, but the TK2 Manual states about OPEN_DIR, so, apart from Level 2, it
should be possible. But what kind of directory, if not Level 2? Perhaps just
the root one.
Section 10 Open and Close
The standard QL channel OPEN commands are redefined by Toolkit II
to use the data directory. In ad
Op Fri, 20 Apr 2012 09:00:18 +0200 schreef Daniele Terdina
:
SuQcess starts with testing the validity of devices and directories to
prevent it from crashing later.
For this the TK2 commands FTEST and FTYP are used but these don't seem
to work on the device names used by Q-emuLator.
Is this ju
Op Sat, 21 Apr 2012 12:42:05 +0200 schreef 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
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
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 Thin
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
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
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 err
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). P
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 Kingd
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 standard, but
different distro's put things in different locations. So, your file m
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 Wi
20 matches
Mail list logo