Results 1 to 10 of 13
I am running with ubuntu 8.04 and need help converting an old qbasic vocabulary quiz program.
In a nut shell:
The game reads and stores words and their meanings. Asks ...
- 02-12-2009 #1
Vocabulary Quiz
I am running with ubuntu 8.04 and need help converting an old qbasic vocabulary quiz program.
In a nut shell:
The game reads and stores words and their meanings. Asks how many words to guess. Displays the correct meaning with 4 random incorrect meanings. Selection is made. Continues until the number of selected words has been reached. Score and rating is displayed. Option to continue yes or no.
I have been referred to Glade and Python. Not only do I have to learn how to use Glade or Python, but then I have to know how to use C, C+ or C++, ruby etc. I can get by programming basic but these are a bit over my head.
Is there a package that I can use to create a GUI that does not require a university degree to interact with the data?
Any help would be appreciated. I do not mind criticism as long as it is constructive.
Regards
J
- 02-12-2009 #2
Take a look at gambas (Gambas - Gambas Almost Means Basic). I think it's in the Repository but I don't know how out of date it is
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 02-12-2009 #3
Thanks, Elija.
I forgot to mention that I had tried Gambas. I tried to get help from the Gambas forum, and because I was a noob, my request was overlooked. I want to thank you for replying.
I have also considered creating the GUI's with Photoshop / Gimp and try to incorporate them into flash. I have done a little flash stuff, but not at the level of experience that would be helpful, at this time.
Thank you for the suggestion. Much appreciated.
Regards
J
- 02-12-2009 #4
I'm just looking at Gambas now and it does seem easy enough so far. What was your Gambas question?
I make no promises with an answer
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 02-12-2009 #5
Elija,
My Gambas question is the same that I originally placed on this forum.
I could create the GUI just fine, but it's the backend, ie C+ etc, that I am not familiar with.
Regards
J
- 02-12-2009 #6
Have a go with gambas - it is a dialect of basic so it should look vaguely familiar if you have used qbasic.
Check this out to get started. If you have any specific questions, please ask them and I will do my best to help.If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 02-13-2009 #7
Elija,
Much appreciated. Will do.
Regards
J
- 02-13-2009 #8
Elija,
I have finally gotten around to installing Gambas2 from repository. After I wade through the "Jinglish", I will attempt to create a very rough GUI (I figured that if I decide not to use Gambas, at least I will not have wasted too much time on the GUI) - wonderful logic, eh?
Will get back to you as soon as I can. I will probably have a question or two by then.
Regards
J
- 02-13-2009 #9
Elija,
First problem.
When starting an application that one is not familiar with, what would be one of the first things you do? Load an example and pick it to bits to see what makes it tick.
Started Gambas2. No problem. Open an example project. Prompted to say that "Project is read only". No problem. Run the example, any example, and the following message appears. "Cannot load class 'FTimer' (varies for each project) Unable to load class file". Click "OK". In this case, back to the loaded Timer Project.
Whilst the screen sat there, staring back at me with a some-what vacant expression, I figured that I would check out the "Classes" folder. No surprises there, empty! No wonder it couldn't load the class.
Tried the TextEdit Project, it too had an empty classes folder and a message of "Cannot load class 'FMain'. Unable to load class file"
Hmmm. I guess I will look around for other examples to try. The saga continues...
Regards
J
- 02-13-2009 #10
Elijah,
So as not to be accused of not reading the manual, I tried one of the examples from /usr/share/gambas2/help/help/howto/getstarted.html and followed EXACTLY the steps listed.
First Steps
When finished the installation then use Gambas:
In a terminal window type "gambas2"
Gambas will open, select new project.
Select "Create a graphical application Qt", click next,
Find a directory where to put the first project, click next,.
Enter a name for your first project, click OK.
Close the tips of the day window.
Right click Forms, New, Forms...
Find the Toolbox window on the workspace. (type F6 it is not visible)
Select the Form Tools.
Select one of the object, e.g. a button, place it in the window.
Use F4 to display its properties
Double click the button the see the code, which will be executed when you click it.
Enter a code line e.g.
PRINT "Hello World. It is now: ";now
In the project window find the start button, press it (or press F5 key).
An Immediate Window will be created and shows the result of the PRINT command in the debug windows.
Everything went well until it was time to execute the example. The program executed without an error message - Woo Hoo!. Unfortunately, all it produced, was an empty window totally void of any button. I tried both a Toggle and a plain Button. Even had both buttons to be displayed, but still, an empty panel.
Back to the drawing board....
Regards
J


Reply With Quote