Welcome, Guest.
Please login or register.
Search Results - Recent posts as of less than a minute ago
Search Results - Recent posts as of less than a minute ago
5 Pages 1 2 3 4 5 »
Showing 1 - 30 (143 results found)

  Re: GPF when STOP executed! Posted by: XBLiteAdmin
Date Posted: August 14, 2010, 11:48am
Word-Hits
1 (100.00%)
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.

Re: GPF with Function Key pressed (XioInkey and PRINT) Posted by: XBLiteAdmin
Date Posted: August 14, 2010, 11:45am
Word-Hits
1 (100.00%)
Thanks for the bug report for XioInkey. The correction has been made and will be
part of the next release of xblite.

d.

GPF with Function Key pressed (XioInkey and PRINT) Posted by: AJS
Date Posted: May 28, 2010, 3:34pm
Word-Hits
1 (100.00%)
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**

  GPF when STOP executed! Posted by: AJS
Date Posted: May 28, 2010, 3:24pm
Word-Hits
1 (100.00%)
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**





Re: Is there any projects? Posted by: teslaXB
Date Posted: May 9, 2010, 9:28am
Word-Hits
1 (100.00%)
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

Re: Is there any projects? Posted by: MorskoyZmey
Date Posted: May 8, 2010, 9:58pm
Word-Hits
1 (100.00%)
Quoted from teslaXB


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..




Re: Is there any projects? Posted by: teslaXB
Date Posted: May 8, 2010, 6:46pm
Word-Hits
1 (100.00%)
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.

Re: Is there any projects? Posted by: MorskoyZmey
Date Posted: May 6, 2010, 6:13am
Word-Hits
1 (100.00%)
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.

Re: Is there any projects? Posted by: teslaXB
Date Posted: May 6, 2010, 5:52am
Word-Hits
1 (100.00%)
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...?

Is there any projects? Posted by: MorskoyZmey
Date Posted: April 16, 2010, 7:56am
Word-Hits
1 (100.00%)
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 )

  win32s Posted by: watlers world
Date Posted: January 17, 2010, 3:38pm
Word-Hits
1 (100.00%)
xblite seems to do ok at making win32s programs
is there any way to make xblite run on win32s?


Re: Non case sensitive keywords Posted by: anta40
Date Posted: September 2, 2009, 2:37pm
Word-Hits
1 (100.00%)
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...




Re: Non case sensitive keywords Posted by: Register
Date Posted: September 2, 2009, 10:58am
Word-Hits
1 (100.00%)
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.

Non case sensitive keywords Posted by: anta40
Date Posted: August 30, 2009, 10:29am
Word-Hits
1 (100.00%)
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?

Re: newbie dll install question Posted by: ukimiku
Date Posted: May 10, 2009, 5:48pm
Word-Hits
1 (100.00%)
Thanks a lot! Now I think it's clear to me.
Regards, ukimiku

Re: newbie dll install question Posted by: 13
Date Posted: May 10, 2009, 5:41pm
Word-Hits
1 (100.00%)
OK,I understand.  Put a copy in the "xblite\programs" folder.  You will see other dlls there.

Greg

Re: newbie dll install question Posted by: ukimiku
Date Posted: May 9, 2009, 3:21pm
Word-Hits
1 (100.00%)
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

Re: newbie dll install question Posted by: 13
Date Posted: May 8, 2009, 7:23am
Word-Hits
1 (100.00%)
Generally the best choice is in the compiled application's folder.

Greg

newbie dll install question Posted by: ukimiku
Date Posted: May 3, 2009, 7:33pm
Word-Hits
1 (100.00%)
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

  Re: "TR/Crypt.XPACK.Gen" trojan pops up when compiled! Posted by: ExoTek
Date Posted: April 28, 2009, 1:04pm
Word-Hits
1 (100.00%)
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.  

  Re: "TR/Crypt.XPACK.Gen" trojan pops up when compiled! Posted by: 13
Date Posted: April 28, 2009, 10:46am
Word-Hits
1 (100.00%)
Hi Exo,

It is very likely a false positive.  See a discussion here (http://www.masm32.com/board/index.php?topic=10462.0) of this problem in association with using GoAsm, the assembler used as the backend to xblite.

Greg

  "TR/Crypt.XPACK.Gen" trojan pops up when compiled! Posted by: ExoTek
Date Posted: April 27, 2009, 9:20pm
Word-Hits
1 (100.00%)
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!!

Re: xblite and GTK+ Posted by: Julien
Date Posted: March 29, 2009, 12:07pm
Word-Hits
1 (100.00%)
To retrieve the file name of the file to open, use gtk_file_chooser_get_filename_utf8 instead of gtk_file_chooser_get_filename.

See this thread for details : http://groups.google.com/group/xblite/browse_thread/thread/f520978a90715b2a

Re: xblite and GTK+ Posted by: Julien
Date Posted: March 21, 2009, 5:24pm
Word-Hits
1 (100.00%)
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)

xblite and GTK+ Posted by: Julien
Date Posted: March 20, 2009, 8:11pm
Word-Hits
1 (100.00%)
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 ()

Re: Welcome to the XBLite Programming Forum Posted by: Arlamon
Date Posted: December 9, 2008, 7:18am
Word-Hits
1 (100.00%)
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...  

Re: LLVM Posted by: eto.ethome.sk
Date Posted: November 27, 2008, 10:33am
Word-Hits
1 (100.00%)
Yeah I realized XBLite is trimmed down XBasic. However were some new XBlite features back-ported to XBasic ? Like the newer integer types etc.

Re: INC bug ? Posted by: eto.ethome.sk
Date Posted: November 26, 2008, 11:43pm
Word-Hits
1 (100.00%)
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?

  Re: Missing source code? Posted by: Sam
Date Posted: October 1, 2008, 10:00am
Word-Hits
1 (100.00%)
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

Re: GTK .DEC files Posted by: XBLiteAdmin
Date Posted: September 27, 2008, 7:13pm
Word-Hits
1 (100.00%)
Hi,

You can find them here:

http://homepages.ihug.co.nz/~armeanu/xblite.html

ciao,
D.

5 Pages 1 2 3 4 5 »
Showing 1 - 30 (143 results found)