Search found 9523 matches

by fxm
Apr 27, 2011 6:47
Forum: DOS
Topic: The dreaded undefined reference
Replies: 12
Views: 4653

Hi all For QuickBasic- So you cannot have that faulty configuration (error label after procedure). That I don't understand.For thirty years I have done this in all additional modules.. REM $INCLUDE: '\Program1\Mc202\Declares.inc' REM $INCLUDE: '\Program1\Mc202\Shares.inc' REM $INCLUDE: '\Program1\M...
by fxm
Apr 26, 2011 20:08
Forum: Tips and Tricks
Topic: billiard style ball movement
Replies: 18
Views: 3366

To avoid flickering (due to 'Cls' instruction in the loop), lock the automatic window refresh during the graphic drawing instructions only, using 'ScreenLock' then 'ScreenUnLock' statement. http://www.freebasic.net/wiki/wikka.php?wakka=KeyPgScreenlock http://www.freebasic.net/wiki/wikka.php?wakka=Ke...
by fxm
Apr 26, 2011 12:28
Forum: Community Discussion
Topic: how many IDE's are there for FB ?
Replies: 56
Views: 5267

Re: fxm thanks for the links

fxm thanks for the links http://freebasicportal.wikispaces.com/FB+IDE%27s In addition to the main link to FBIde, you could also mention the link to the Quick Fix for one FBIde (0.4.6) bug: - Mysoft published a quickfix to process the bug that make it hang when F1 is pressed and there are more than ...
by fxm
Apr 26, 2011 7:36
Forum: Community Discussion
Topic: how many IDE's are there for FB ?
Replies: 56
Views: 5267

I'm curious to know the various major FreeBasic IDE available for Windows. Accordingly, I use them depending on the program kind and I update all regularly: - FreeBasic IDE (the most commonly used for simple program) - FreeBASIC editor - FreeQ IDE - FireFly Visual Designer - Geany - JellyFB Editor (...
by fxm
Apr 25, 2011 14:22
Forum: General
Topic: Eliminating Lag in a Loop
Replies: 8
Views: 986

Oh, just thought of a new hack: line -(x, y),,, 0 Passing 0 as the style parameter ensures noline is drawn. Still pretty horrible. But at least this way doesn't involve poking to the screen or parsing a string. It does have the drawback of having to redraw all the screen rows it "touches" t...
by fxm
Apr 25, 2011 8:16
Forum: Beginners
Topic: *.fbs - sessions
Replies: 7
Views: 1307

Re: *.fbs - sessions in FDIDE

not having any luck. does any one know how this works? ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! - Menu 'File/Save session' to save your session. - Menu 'File/Load session' to recover your session. Line scrolling offset and cursor position are saved for each opened file, and also the active tab.
by fxm
Apr 23, 2011 22:14
Forum: Beginners
Topic: Is it a compiler revision, OS, or hardware issue?
Replies: 2
Views: 515

Compile with option -exx.

For the two programs:
Aborting due to runtime error 1 (illegal function call) at line ..

The faulty line is:
(1) GET (0,0)-(4,1), playershot1
(2) GET (1,1)-(1,1), tile5alive

Correct and try again!
by fxm
Apr 23, 2011 21:49
Forum: General
Topic: Setting a default input
Replies: 11
Views: 1604

Zippy wrote:It's possible that I am agreeing with you ;-)

Excuse me, but I thought you did not fully read my first post, and my first response about 'InputBox$'!
by fxm
Apr 23, 2011 21:23
Forum: General
Topic: Setting a default input
Replies: 11
Views: 1604

Zippy wrote:Perhaps your other basic was VB.

In my previous post, I said that the function 'InputBox($)' had appeared from Visual Basic for DOS 1.0, and was kept for all the next VB/VBA/VBS for Windows.
by fxm
Apr 23, 2011 19:25
Forum: DOS
Topic: The dreaded undefined reference
Replies: 12
Views: 4653

Hi all davidshq I havent proceeded with using the -lang qb since. But I am sure the solution was to put the label before the first sub. That was definitely a difference to Qb, as I have many projects that have the ErrMod1 before the Errtrap label. Regards No, it is not exactly that! For QuickBasic:...
by fxm
Apr 23, 2011 14:33
Forum: General
Topic: Setting a default input
Replies: 11
Views: 1604

Not sure what "type" of basic version I was using at the time, but seem to remember being able to "stuff" the keyboard buffer with data. Then when the input function was called it would allow just the enter key to accept or could cursor back to make change. I know only from Microsoft Visual Basic D...
by fxm
Apr 23, 2011 12:41
Forum: Documentation
Topic: Page 'Types as Objects' orphan ? [one link + another added]
Replies: 7
Views: 2861

Yea, I added a link in the Programmer's Guide page, because that's what it seems to belong to. Maybe it wasn't added because it's kind of unfinished. Not updated either to include newer language elements. KeyPgType (and others) were updated after that page was added and have much better coverage ac...
by fxm
Apr 23, 2011 6:57
Forum: General
Topic: Eliminating Lag in a Loop
Replies: 8
Views: 986

Oh, just thought of a new hack: line -(x, y),,, 0 Passing 0 as the style parameter ensures noline is drawn. Still pretty horrible. But at least this way doesn't involve poking to the screen or parsing a string. It does have the drawback of having to redraw all the screen rows it "touches" t...
by fxm
Apr 22, 2011 20:37
Forum: General
Topic: Eliminating Lag in a Loop
Replies: 8
Views: 986

You will then just face the challenge of making the line start in the right position when the button is pressed. Simplest principle of pencil drawing: dim as integer mX, mY, mB screen 18, 32 do getmouse (mX, mY, , mB) if mB = 1 then line -(mX, mY), rgb(&h80, &hc0, &h...
by fxm
Apr 22, 2011 18:14
Forum: General
Topic: what options are there to check if a file exists ?
Replies: 2
Views: 562

Try in first priority "Fileexists':
http://www.freebasic.net/wiki/wikka.php ... Fileexists

Go to advanced search