FOR byte = 0 TO 254
PRINT index
NEXT index
PRINT index
END FOR index
This same thing is simpler in Gambas:
For ii = 0 to 254
Print ii
Next
Print ii
Jussi
--
Got visibility?
Most devs has no idea what
Updates:
Status: Fixed
Labels: -Version-TRUNK Version-3.3.0
Comment #2 on issue 332 by benoit.m...@gmail.com: Not able to use
Desktop.ActiveWindow to change the active window
http://code.google.com/p/gambas/issues/detail?id=332
I found my mistake. Fixed in revision #5220.
Comment #6 on issue 333 by flynetin...@gmail.com: In the report the spacing
changed in the latest version
http://code.google.com/p/gambas/issues/detail?id=333
the problem still continues in the latest version
--
Got
Le 01/10/2012 04:31, RICHARD WALKER a écrit :
Just installed a rebuilt 3.3.2 rpm and my test project passed with
flying colours (or colors?)
It was just a typo in the original message now corrected.
The flying colours reference is an idiomatic expression of possibly
military origin which
Le 01/10/2012 16:03, Jussi Lahtinen a écrit :
It's project I can't send.
How could I help you then if I cannot reproduce the bug?
--
Benoît Minisini
--
Got visibility?
Most devs has no idea what their production app
How could I help you then if I cannot reproduce the bug?
Sometimes you have that magic touch, never know without trying.
Jussi
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how
I hope this leads to somewhere...
I removed 2 /dev/null (--- why it was there?) to see what happens when
.pot file is created,
or more precisely why it has zero size.
/home/jussiemmi/Desktop/testcopy/.lang/MainModule.pot:2858: duplicate
message definition...
Problem with that is that the second Print ii statement is executed,
even if the loop is skipped (because of initial conditions). The
SuperBASIC version would print nothing if the initial loop conditions
indicate it should be skipped
The Gambas equivalent would be more like
For ii = 0 to 254
...may we adfirm: A cycle, to end, must reach the upper limit to its maximum
extreme. ?
--- Dom 30/9/12, Emil Lenngren emil.lenng...@gmail.com ha scritto:
Da: Emil Lenngren emil.lenng...@gmail.com
Oggetto: Re: [Gambas-user] R: Unending cycle For...Next with variable As
Byte
A:
...may we adfirm: A cycle, to end,
must reach the upper limit to its maximum extreme.
?
...I'ld like to adjust :-)
A cycle, to end, must reach the upper value to its maximum extreme.
Regards
vuott
--
Don't
--
root@SIP-ubuntu:/usr/src/gambas3-3.3.2# ./configure -C conf_ubuntu.txt
configure: WARNING: Unable to find file: libintl.so
configure: WARNING: This library may be located inside the system C library
configure: WARNING: Unable to find file: libiconv.so
You must ensure that:
- It is correctly indented.
OK there I think. Everything is appropriately indented. The size of
the indent is tweakable in the editor preferences. I set it to 4
spaces as I am used to that.
- Variable, functions... have good names.
All of the functions (apart from
http://www.gambasdoc.org/help/doc/naming?v3
Then this is a,right way to learn. Benoit can explain you a lot. Don't be
so scary
Le 2 oct. 2012 02:51, RICHARD WALKER richard.j.wal...@ntlworld.com a
écrit :
You must ensure that:
- It is correctly indented.
OK there I think. Everything is
13 matches
Mail list logo