Search found 32 matches

by SMcClouth
Wed Mar 06, 2013 4:39 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Error-handler
Replies: 10
Views: 17586

@burger2227 you're correct. I should've added the '$INCLUDE:'bi-file' in my first post. On my computer I have that. Right now I left out the 'handle.err' FUNCTION FindFATFile (fil AS STRING) FileFound = "1" IntFileName$ = fil + CHR$(0) RegsX.AX = &H4E00 'RegsX.CX = 39 RegsX.DX = SADD(I...
by SMcClouth
Tue Mar 05, 2013 12:56 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Error-handler
Replies: 10
Views: 17586

It's also a .bi-file. I'll post an update later, since I resolved the matter in the last hour.
by SMcClouth
Mon Mar 04, 2013 10:30 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Error-handler
Replies: 10
Views: 17586

Back on the matter. So it is linked, it uses COMMON SHARED. For some reason it can't return to the FUNCTION, which caused the ERROR, namely FindFATFile. When trying to change RESUME NEXT to RESUME or RESUME 0, it just continues to loop in handle.err. I checked this with a print command. So any clues...
by SMcClouth
Wed Nov 07, 2012 12:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Error-handler
Replies: 10
Views: 17586

I compile the source manually with

Code: Select all

bc source1.bas;
bc source2.bas;

link source1+source2,,nul,lib.lib;
Thx so far!
by SMcClouth
Sat Oct 20, 2012 3:22 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Error-handler
Replies: 10
Views: 17586

I'm using PDS 7.1. If I understand you, you'd say that I could (or would have) to use DIM SHARED instead of COMMON SHARED?
by SMcClouth
Fri Oct 19, 2012 1:31 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Error-handler
Replies: 10
Views: 17586

Still the problem remains that even though I have RESUME NEXT, it doesn't resume (returning to the SUB FindFATFile) and continue the program.
by SMcClouth
Fri Oct 19, 2012 8:57 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Error-handler
Replies: 10
Views: 17586

Error-handler

Hey all, I'm using an error-handler, entirely based upon Novix's error handler. But since a couple of weeks I'm experiencing a problem. To explain things a bit, I'm working with modules and in the following issue I have: [u]qbinux.bi[/u] DECLARE FUNCTION FindFATFile% (fil AS STRING) COMMON SHARED Fi...
by SMcClouth
Sat Jun 30, 2012 3:08 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: print via interrupt
Replies: 2
Views: 8578

hey burger2227 already saves me time since I only use PDS... I'll check it out. Thx mate!
by SMcClouth
Sat Jun 30, 2012 2:34 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: print via interrupt
Replies: 2
Views: 8578

print via interrupt

For my program I'm using a routine to print, which is as following: SUB printf (fmt AS STRING) temp$ = "" FOR i% = 1 TO LEN(fmt) IF MID$(fmt, i%, 2) = "/n" THEN temp$ = temp$ + CHR$(10) + CHR$(13) END IF temp$ = temp$ + MID$(fmt, i%, 1) NEXT i% FOR i% = 1 TO LEN(fmt) char = ASC(M...
by SMcClouth
Wed Jun 06, 2012 5:21 pm
Forum: News and Announcements
Topic: Seb McClouth is back
Replies: 5
Views: 28639

lol, hey burger2227, hows you? I'll stick to QB for the time being...
by SMcClouth
Wed Jun 06, 2012 2:59 pm
Forum: News and Announcements
Topic: Seb McClouth is back
Replies: 5
Views: 28639

@angros47, thanks for the hint. I'll keep it in the back of me head... for now this will suffice!
by SMcClouth
Wed Jun 06, 2012 11:52 am
Forum: News and Announcements
Topic: Seb McClouth is back
Replies: 5
Views: 28639

Seb McClouth is back

Yeah, we're back in the running. Being going through a lot the past few years. Recently I wiped the dust of QBinux and brought it back to life. In the past week I've been rewriting most of the code and have a something working version. Still needs a lot of revising but I was wondering if 'the commun...