[Gambas-user] Wrap mode for gb.qt4.editor
Dmitriy
dima.malkov.russia at ...626...
Fri Jan 6 03:47:17 CET 2012
Can I enable Wrap mode for gb.qt4.editor? If I can't, will It be
possible soon?
P.S.
I found help system in Gambas2 better then in Gambas3. Samples and
source of IDE are poor commented :-). So, I don't know, how I can study
programming Gambas or just understand how samples work. I have no
resources except mail lists. At my opinion writing console programs is a
good point to begin studying Gambas. I took a book for C++ (Robert
Lafore, Object-Oriented Programming in C++ 4-th Ed) and began translate
programs from It to Gambas. So, when I was translating example of card
game from 6-th section, I found:
------------------------------------------------------
///////////////////////
enum Suit { clubs, diamonds, hearts, spades };
const int jack = 11;
const int queen = 12;
const int king = 13;
const int ace = 14;
///////////////////////
class card
{
private:
int number;
Suit suit;
public:
card() {}
card(int n, Suit s): number(n), suit(s) {}
void dysplay();
bool isEqual(card); //result of comparison two cards
}
///////////////////////
void card::dysplay()
{
...
}
bool card::isEqual(card c2)
{
...
}
///////////////////////
------------------------------------------------------
I don't know how to translate it the best way. How to work with "ENUM"
in Gambas?
P.P.S.
Is there anybody, who writes LaTeX often and isn't satisfied with Kile
and TeXMaker? I want to write LaTeX-editor in Gambas. I want it will
work like IDE for Gambas3. I think it is not very difficult task.
------------------------
Regards,
Dmitrij Malkov
More information about the User
mailing list