Search Results - Recent posts as of less than a minute ago |
|
Showing 1 - 30 (143 results found)
|
|
|
STOP will interrupt your program by inserting the assembly software break instruction
int 3
Since there is no debug code or interrupt handler, the program will crash. This is normal behavior.
d. |
|
|
Thanks for the bug report for XioInkey. The correction has been made and will be part of the next release of xblite.
d. |
|
|
Following program crashes when a FUNCTION KEY IS PRESSED, either ALONE or with SHIFT, ALT or CTRL - Other keys work..!
I appriciate the code is not correct but why the PRINT should crash just because a Function Key is pressed is beyond me!
XBLite Version: Latest 240 downloaded today, recompiled ... Compiler 0.0012 Xst: 0.059 Xsx: 0.019
Microsoft PMU: 1.50.4048 GoASM: 0.56.4
**PROGRAM BEGIN**
CONSOLE
IMPORT "xst" ' Standard library : required by most programs IMPORT "xio" ' Console input/ouput library IMPORT "kernel32" DECLARE FUNCTION Entry()
FUNCTION Entry()
DO keyCode = XioInkey () IF keyCode THEN keyCode$ = CHR$(keyCode) PRINT ".."; keyCode END IF Sleep (0) LOOP UNTIL keyCode = 13
END FUNCTION END PROGRAM
**PROGRAM END** |
|
|
Following program crashes when stopping.
XBLite Version: Latest 240 downloaded today, recompiled ... Compiler 0.0012 Xst: 0.059 Xsx: 0.019
Microsoft PMU: 1.50.4048 GoASM: 0.56.4
**PROGRAM BEGIN**
CONSOLE
DECLARE FUNCTION Entry ()
FUNCTION Entry () STOP
END FUNCTION END PROGRAM
**PROGRAM END**
|
|
|
No problem at all.... I like all basic languages becose im basic fan and just for info i'm the author of one really small and beginer oriented basic dialect called Aurel basic. Im not big expert im just a hoby programmer.
Abot XSED is just modification by Jose Roca -author of SED editor for Power Basic based on scintilla.XSED like SED is very good Editor. Mine editor in ABasic is also based on scintilla.
About xblite - it is very good basic but like i say have complex syntax class registering- allmost like C. I understand 50% becose im used on that type of syntax but for new people is very hard to understand what is what. So becose of this i think that is not very popular like FBasic,PureBasic,PowerBasic ,Emergance Basic....etc.
PS.If you want visit my ABasic is on http://aurelbasic.mybbest.com |
|
|
On which basics you mean? Free basic for example is far completed then xblite with all respect to xblite. Emergence basic far easier then both and excellent.
Sorry, I really dont know much basics. But I've seen some homebrew basics from last century written by one person, they all were uncompleted.
About Free basic: I heared from my colleagues that it's compiler source consist of dozens files. This is already big plus to developers. But XBlite has it's own nice XSED source editor. Very comfortable to learn 
Whatever I want to say to deveopers: thank you very much. Thank you for all your comments in sourse code =)
Dont worry, I just learn it, dont steal any..
|
|
|
Quoted Text
Yes, its complicated, but only if you compare with other basics, wich are not so complete.
On which basics you mean? Free basic for example is far completed then xblite with all respect to xblite. Emergence basic far easier then both and excellent. |
|
|
Yes, its complicated, but only if you compare with other basics, wich are not so complete. Although I see C constructions and even more.
When I wrote on Blitz3D, I really was need in such. So I just got away from it and start to lern C++
If I knew about xblite, I wouldnt do such thing.
Dont know is it good or not. |
|
|
I was just wondering why is so low respond on this forum? And why is xblite not very popular basic like some other basics? maby is point in little bit complicated way of making programs...? |
|
|
Hi
I really think that you guys need make a category where people can make threads about their games/programs/tools written in xblite. Maybe I just couldnt find that.
Anyway please tell me where I can find any open source project more then 50KB in size writen in xblite except compiler itself
it would be pretty nice if it would be a game. I just need big code
sorry my English hello from Russia ) |
|
|
xblite seems to do ok at making win32s programs is there any way to make xblite run on win32s?
|
|
|
If it's by design then I think I can accept. Personally, I prefer lowercase keywords, like in C. Uppercase keywords sometime look annoying. No big deal, anyway... 
And maybe I should use XSED, instead of a common programming editor...

|
|
|
Hi anta40,
Max Reason decided (with reason) that all XBASIC's keywords would be uppercase. Visually, it allows you to separate keywords from User identifiers so I tend to think that it was a good design choice. A drawback is that you must type your keywords "caps on", which, like lzdude69 stated it, can cause cramps to your poor pinky.
To preserve your so useful pinky, D. has added the possibility to XSED to capitalize "on the fly" xblite's keywords. Works great for me and my pinky!
To answer precisely to your question: I see no reason to allow mixed case keywords and XSED will capitalize all keywords that you typed in lowercase. Just remember to turn on the proper editor switch. |
|
|
I just noticed that all XBLite keywords are uppercase, while on the other BASIC variants they don't need to be upper case. Would it be difficult to implement this? |
|
|
Thanks a lot! Now I think it's clear to me. Regards, ukimiku |
|
|
OK,I understand. Put a copy in the "xblite\programs" folder. You will see other dlls there.
Greg |
|
|
Hi Greg,
thanks for replying. Now I am unsure as how to *test* the .dll if I am to place it into the compiled application's folder. (?)
Regards, ukimiku |
|
|
Generally the best choice is in the compiled application's folder.
Greg |
|
|
Hi all,
I have just installed XBLite, and it's working. I would like to try out a .dll library with XBLite. Where do I have to put .dll files? Into the XBlite folder? Into the compiled application's folder? Into any special dedicated Windows folder?
Thanks for helping!
Regards, ukimiku |
|
|
Thanks Greg,
That explains it all.
At least now I nkow that there is nothing behind this. Worst comes to worst I just tell Avira to 'Ignore' and go on...
It still bug me though that it doesn't do it every times... Usualy, a computer will always comes to the same result given a particular situation...? I guess that somethings turn out differently from one time to another and that's enaugh to trigger the alarm?...
Anyways, thanks again Greg.  |
|
|
I keep getting the "TR/Crypt.XPACK.Gen" warning when I compile my code ... My anti-virus is "Avira home edition" and the code I just tryed is the "menu" demo in the "gui" sub-dir.
Can anyone tell me what file keeps getting infected and why... Every time I find myself re-downloading xbl and re-installing it, its ok for a while and then BANG!!!
Of course, the first time that this happened, I went through a total scan of my system with both my anti-vir and "spy-bot" but it is still comming back! And the worst part is that it only happens with my most beloved xbl (I put a smiley here but in fact I was looking for a little face drowning in a sea of tears!)
Heeeelp!! |
|
|
The xblite code below works to create a GTK+ "Open file" dialog. As parent window for the dialog, I pass a value of 0 (variable None). The dialog displays, however, I don't know what should be the xblite/GTK equivalent for this GTK_FILE_CHOOSER (dialog)
For those interested in GTK+ for xblite, see : http://homepages.ihug.co.nz/~armeanu/xblite.html See the message on the xblite Google Groups forum if you encounter installation problems with the necessary libraries.
gtk_init (argc, argv) title$ = "Open file" dialog = gtk_file_chooser_dialog_new (&title$, None, $$GTK_FILE_CHOOSER_ACTION_OPEN, &$$GTK_STOCK_CANCEL, $$GTK_RESPONSE_CANCEL, &$$GTK_STOCK_OPEN, $$GTK_RESPONSE_ACCEPT, NULL) IF (gtk_dialog_run (dialog) = $$GTK_RESPONSE_ACCEPT) THEN 'filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog)); 'open_file (filename); 'g_free (filename); END IF gtk_widget_destroy (dialog) |
|
|
Hi folks,
I know that this is more a GTK+ question than an xblite one, but I'm trying to use Liviu Armeanu's GTK+ binding for xblite to create a "File Open" dialog window...
At runtime, I get this error : Gtk-CRITICAL **:gtk_window_set_transient_for: assertion `parent == NULL || GTK_IS_WINDOW (parent)' failed
This is like the parent window that is then passed to the "File Open" dialog could not be created.
Is there some GTK guru here? Here the code:
gtk_init (argc, argv) window = gtk_window_new ($$GTK_WINDOW_TOPLEVEL) title$ = "Open file" dialog = gtk_file_chooser_dialog_new (&title$, &window, $$GTK_FILE_CHOOSER_ACTION_OPEN, &$$GTK_STOCK_CANCEL, $$GTK_RESPONSE_CANCEL, &$$GTK_STOCK_OPEN, $$GTK_RESPONSE_ACCEPT, NULL) gtk_main () |
|
|
This is great. I haven't used XBLite since last year sometime and I've been waiting for the day that this forum would be created(Since Google Groups is just plain ugly and formating is terrible.)
I'm a bit late (today I randomly decided to see how this project was coming since I last used it), but hey...  |
|
|
| Yeah I realized XBLite is trimmed down XBasic. However were some new XBlite features back-ported to XBasic ? Like the newer integer types etc. |
|
|
| I have experienced exactly the same situation today. Invoking INC caused second chance exception, which took down whole program. I was using PACKED type with ULONG memebers, are you interested in my source code for further anlysis? |
|
|
Thanks ! BTW, for the docs, I think I could handle myself. I'll try to check it tommorow. And, sorry for last post's language. I was writing with an empty head . Once again, thanks!
Sam |
|
Showing 1 - 30 (143 results found)
|
|