Search found 248 matches

by Theunis Jansen
Apr 19, 2013 14:39
Forum: General
Topic: F10 not regtistering with Inkey$
Replies: 3
Views: 360

Re: F10 not regtistering with Inkey$

@MichaelW Thanks for the info about F10. I already use Enter/ArrowDown/Tab for the next field so maybe I will change F10 to F12 or "Enter"- or is there another key that is more standardized for "Accept"? Screen 0 is actually the console screen and it works perfectly. I previously...
by Theunis Jansen
Apr 19, 2013 12:03
Forum: General
Topic: F10 not regtistering with Inkey$
Replies: 3
Views: 360

F10 not regtistering with Inkey$

i have a program that extensively uses F10 to accept a multi item page. One page has 22 items and another 17. Using #Lang"fblite" and screen 0 it works perfectly. The program does not work very well on Vista where I have a tiny screen and fullscreen is not available, and consequently I tri...
by Theunis Jansen
Apr 17, 2013 11:03
Forum: General
Topic: FB Slow on ME
Replies: 9
Views: 846

Re: FB Slow on ME

@MichaelW
Thank you. I will give it a try.

@ShockTheRock
Thanks again for the prog to display BSV's.
It is not necessary to write a BSAVE.
I was just wondering if someone had not come across such a prog.
In the days of yore there were actually ways devised to load a PNG or BMP using QB.
by Theunis Jansen
Apr 17, 2013 8:00
Forum: General
Topic: Trying to make maro for INCR and DECR
Replies: 16
Views: 1284

Re: Trying to make maro for INCR and DECR

To increase or decrease a variable and keep it within certain bounds I have used the following code for years now. It works in #lang "fblite" but I have not tested it in #Lang "FB" A = A + (A > 1) 'Decr A until it reaches 1 or any Mimimum A = A - (A < MAX) 'Incr A until it reache...
by Theunis Jansen
Apr 17, 2013 7:18
Forum: General
Topic: FB Slow on ME
Replies: 9
Views: 846

FB Slow on ME

I am a bit puzzled. I compiled a QB program using #Lang "fblite" and when I ran it on ME it executed slower than when I ran the same program in ME using the QB 4.5 interpreter. Yes that is correct the interpreter is faster than the compiled program. This was quite obvious when I draw a fan...
by Theunis Jansen
Mar 23, 2013 10:14
Forum: General
Topic: Type..End Type QB/FBlite bug ?
Replies: 6
Views: 425

Re: Type..End Type QB/FBlite bug ?

I fixed my problem. Opened two files - 1 as BINARY 2. as RANDOM Calculated the number of files used For i=1 to NumberRecords...Next Read the BINARY file using A$=INPUT$(289,i) (289 = Total for the elements). Converted the String with Mid$... to the TYPE... END TYPE elements and saved it to the Rando...
by Theunis Jansen
Mar 22, 2013 14:47
Forum: General
Topic: Type..End Type QB/FBlite bug ?
Replies: 6
Views: 425

Re: Type..End Type QB/FBlite bug ?

@FXM when you come to STRING * 1 then it cannot be done because of the default string length. So this only works of the N-x is 2 or more. Looks like I will have to figure out a BINARY read of the DATA, but then another problems shows up when I put the DATA unless I Also do it in BINARY. My one progr...
by Theunis Jansen
Mar 22, 2013 14:05
Forum: General
Topic: Type..End Type QB/FBlite bug ?
Replies: 6
Views: 425

Re: Type..End Type QB/FBlite bug ?

Thanks FXM

I will try the (N - 1) suggestion.

But this is a rather major incompatibility
by Theunis Jansen
Mar 22, 2013 12:10
Forum: General
Topic: Type..End Type QB/FBlite bug ?
Replies: 6
Views: 425

Type..End Type QB/FBlite bug ?

This looks like a Bug I have a TYPE OrderIt...END TYPE With 15 STRING * x elements. Dim Order as OrderIt I open the file as RANDOM ......... Len = Len(Order). Using #Lang "fblite" when displaying the records they are all screwed up. After much searching I said Print Len(Order) which printe...
by Theunis Jansen
Mar 07, 2013 15:52
Forum: General
Topic: Using QB4.5 Quick Libraries
Replies: 44
Views: 5067

Re: Using QB4.5 Quick Libraries

I ran the program where you added the signature, segment, offset, length. It still printed gunk and a beep on line 25. I did change it to 24 and row 25 is printed with the fgcolor,bgcolor, to me, without the black row, it looks better than the original I had to change one line to THEN exit sub. This...
by Theunis Jansen
Mar 07, 2013 13:23
Forum: Windows
Topic: Program does not return : goes to task-bar
Replies: 4
Views: 957

Re: Program does not return : goes to task-bar

One thing I forgot to mention is that it only comes back to my program if the program that was SHELLed etc is in the same directory. If for instance I call a program from say C:\BASIC and the Windows program is in C:\WINDOWS it still leaves my program minimized on the task bar. Has anyone found a wa...
by Theunis Jansen
Mar 07, 2013 10:35
Forum: Beginners
Topic: Linking ASM Object File During Compile?
Replies: 18
Views: 1821

Re: Linking ASM Object File During Compile?

I have a question or two. What would happen if the code is used "inline". (Some LIB's give the source) I checked ASM in the FBIDE Help file and it gives a FUNCTION example. It also mentions 386 cpu's. I always understood that Intel CPU's are backward compatible. If the code does not includ...
by Theunis Jansen
Mar 06, 2013 17:52
Forum: Windows
Topic: Program does not return : goes to task-bar
Replies: 4
Views: 957

Re: Program does not return : goes to task-bar

1. It does it for any 16 bit file. i.e QB compiled files.

2. FBide 0.4.6. When running from this IDE but as indicated from the EXE it is fine.

By the way this FBIde appears to have a bug as it does not list the latest loaded programs. It lists the first 9 files I loaded and thats that.
by Theunis Jansen
Mar 06, 2013 10:45
Forum: General
Topic: Using QB4.5 Quick Libraries
Replies: 44
Views: 5067

Re: Using QB4.5 Quick Libraries

@ RockTheShock The required info is as follows: Signature : 0xFD Segment : 0xB800 Offset: 0x0 Length(Bytes): 3840 I fiddled a bit with the print position because this data did not show on the screen. I also used #lang "fblite" #include "fbgfx.bi" and Screen 17,,,GFX_FULLSCREEN I ...
by Theunis Jansen
Mar 06, 2013 9:48
Forum: Windows
Topic: Program does not return : goes to task-bar
Replies: 4
Views: 957

Re: Program does not return : goes to task-bar

Problem solved. This does not happen if I compile and run the compiled program.

This problem only occurs when I "Quick Run" the BASIC program.

Go to advanced search