Search found 8 matches

by KFlux
Jan 20, 2014 12:17
Forum: Beginners
Topic: Code Explanation
Replies: 2
Views: 307

Code Explanation

Can anyone explain to me what this code is doing? Specifically the bold sections.

If FB language is QB then define ?? and if not then define ??

#IF __FB_LANG__ = "qb"
#DEFINE EXTCHAR(_V_) CHR$(0) + _V_
#ELSE
#DEFINE EXTCHAR(_V_) CHR(255) & _V_
#ENDIF



Regards,

KFlux
by KFlux
Jan 20, 2014 11:35
Forum: Projects
Topic: INKEY$ Drawing Issues
Replies: 4
Views: 548

Re: INKEY$ Drawing Issues (Solved)

Thankyou for this.

KFLux
by KFlux
Jan 19, 2014 13:17
Forum: Projects
Topic: INKEY$ Drawing Issues
Replies: 4
Views: 548

INKEY$ Drawing Issues

Hi, I've written a demo to explore the use of user input to draw. Now, I'm using INKEY$ to read from the keyboard but I'm finding that it is horrendously slow and there is a significant delay between keypresses and drawing. I'm not sure if this is due to the way I have coded it or if INKEY$ isn't th...
by KFlux
Jan 17, 2014 21:56
Forum: Beginners
Topic: GTK+ Compile: MIssing Libraries (PARTIALLY SOLVED)
Replies: 12
Views: 2254

Re: GTK+ Compile: MIssing Libraries

OK, bit of an extreme solution...but I've completely re-installed Xubuntu 13.10 using the 32-bit build instead of the 64-bit one. I've installed all required libraries and also all GTK+ libraries and it seems to be compiling source with no linker errors. Clearly there are a lot of compatibility issu...
by KFlux
Jan 17, 2014 16:16
Forum: Beginners
Topic: GTK+ Compile: MIssing Libraries (PARTIALLY SOLVED)
Replies: 12
Views: 2254

Re: GTK+ Compile: MIssing Libraries

OK, same problem on Windows 7 so it's not an Ubuntu-specific issue I'm having. Think I may have to find another dialect to use because I don't know what else I can do to get FreeBASIC to just work. I'm used to having to fix up ways to get things running on Linux but in Windows it's usually just a ca...
by KFlux
Jan 17, 2014 14:38
Forum: Beginners
Topic: GTK+ Compile: MIssing Libraries (PARTIALLY SOLVED)
Replies: 12
Views: 2254

Re: GTK+ Compile: MIssing Libraries

When I try to install the package(s) independently I get the same error message. With regards to running GTK+ in Python, I have no idea. All I know is when I create a frame in Python it works and when I try to do the same thing in FreeBASIC it doesn't. I'm pretty dubious about some of these messages...
by KFlux
Jan 16, 2014 10:32
Forum: Beginners
Topic: GTK+ Compile: MIssing Libraries (PARTIALLY SOLVED)
Replies: 12
Views: 2254

Re: GTK+ Compile: MIssing Libraries

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The fol...
by KFlux
Jan 14, 2014 20:21
Forum: Beginners
Topic: GTK+ Compile: MIssing Libraries (PARTIALLY SOLVED)
Replies: 12
Views: 2254

GTK+ Compile: MIssing Libraries (PARTIALLY SOLVED)

Hi, This is my first post here. I'm completely new to FreeBASIC. I've been using QuickBASIC and Python for some time, but I wanted a QBasic-like language that lets me play around with code in a fun way but without the fundamental limitations of QB. Anyway, I thought I'd try out some GTK+ examples to...

Go to advanced search