Search found 32 matches
- Sat Jan 25, 2014 10:04 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: For-Next Issue
- Replies: 2
- Views: 9299
Re: For-Next Issue
IDS is an integer which is the amount of data records (of which I have 300).
- Fri Jan 24, 2014 6:07 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: For-Next Issue
- Replies: 2
- Views: 9299
For-Next Issue
Hey all, I'm writing a small program in QB PDS in which I have the following code: For d = 1 To IDs If CU(d) = CUR Then CUC = CC(d) End if Next [*]CU(d) is an array containing certains IDs [*]CUR is the main ID, we locate in the array to find CUC [*]CUC is the ID to refere to another array, which is...
- Thu Jan 02, 2014 3:38 am
- Forum: General Discussion
- Topic: calling list
- Replies: 8
- Views: 16466
Re: calling list
Hi Burger2227,
Thx for your insight. This gives me again something to work with.
Best wishes for the new year!
Grtz
Thx for your insight. This gives me again something to work with.
Best wishes for the new year!
Grtz
- Wed Jan 01, 2014 8:48 am
- Forum: General Discussion
- Topic: calling list
- Replies: 8
- Views: 16466
Re: calling list
Back again. I have some PDS-code, I wrote, but it hangs in the FUNCTION unique. Can someone shed me some light on this? DECLARE FUNCTION unique! () DIM SHARED cid(1500) AS INTEGER 'client id DIM SHARED cname(1500) AS STRING 'client name DIM SHARED cnumber(1500) AS STRING 'client phonenumber DIM SHAR...
- Fri Dec 27, 2013 4:31 pm
- Forum: General Discussion
- Topic: calling list
- Replies: 8
- Views: 16466
Re: calling list
We can learn something every day! Thanks again!
grtz
grtz
- Fri Dec 27, 2013 4:05 pm
- Forum: General Discussion
- Topic: calling list
- Replies: 8
- Views: 16466
Re: calling list
Burger2227, always a pleasure to hear from you.
The reason why I had to choose for GAMBAS is because SQL. I'm using an SQL-Database, but you did give me some good information to work with. So thanks already for providing me with some clear information!
Grtz
Seb
The reason why I had to choose for GAMBAS is because SQL. I'm using an SQL-Database, but you did give me some good information to work with. So thanks already for providing me with some clear information!
Grtz
Seb
- Fri Dec 27, 2013 7:24 am
- Forum: General Discussion
- Topic: calling list
- Replies: 8
- Views: 16466
calling list
Hey all, For a company project I've been asked to write a database gui front end. Due to limitations, such as only being able to use Linux for the server, by the company, I've introduced myself to the world of GAMBAS. Luckily it's very similar to QB and VB. There' only one problem which I have, I ne...
- Fri Apr 19, 2013 5:42 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: CALL Absolute
- Replies: 2
- Views: 9030
- Fri Apr 19, 2013 3:58 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: CALL Absolute
- Replies: 2
- Views: 9030
CALL Absolute
Is there a possibility to only use peek and poke instead of Call Absolute? I'd like run without the standard QBX.LIB perhaps creating my own lib or something.
- Mon Apr 15, 2013 7:28 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: QBXFS is nearly a fact
- Replies: 0
- Views: 10595
QBXFS is nearly a fact
As some of you may have noted, I've been working again on QBinux with some breakthroughs lately. The latest is an adjust version of NVXFS (Novix FileSystem) to work as QBinux FileSystem. After four rewrite attempts (in nearly a week), I've come up with a working version. This means that code will go...
- Fri Apr 12, 2013 5:20 pm
- Forum: News and Announcements
- Topic: Black Annex - QBasic corporate sabotage / infiltration game
- Replies: 9
- Views: 35240
- Tue Apr 09, 2013 10:03 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sched Handler (WIP)
- Replies: 11
- Views: 20505
Thanks for clear that out burger2227. edit: I added DEFINT A-Z to the kernel.bas file, on top. When running the code now, it states in the debug check that NR.TASKS = 64 and ends with i= 64. But still a crash. edit2: after removing the debug checks (PRINT NR.TASKS, and PRINT i) it continues to print...
- Mon Apr 08, 2013 10:46 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sched Handler (WIP)
- Replies: 11
- Views: 20505
CONST values should be shared globally too. edit: You mean that I should use: DIM SHARED NR.TASKS AS INTEGER NR.TASKS = 64 Follow up: I changed it to the above, with the result that NR.TASKS = 0, on checking in the routine. When chancing DIM SHARED to COMMON SHARED, NR.TASKS results in 64, but the ...
- Mon Apr 08, 2013 9:39 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sched Handler (WIP)
- Replies: 11
- Views: 20505
- Mon Apr 08, 2013 4:48 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sched Handler (WIP)
- Replies: 11
- Views: 20505
- Mon Apr 08, 2013 4:47 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sched Handler (WIP)
- Replies: 11
- Views: 20505
- Mon Apr 08, 2013 4:46 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sched Handler (WIP)
- Replies: 11
- Views: 20505
PART 1 kernel/include/qbinux.bi: DEFINT A-Z '$DYNAMIC TYPE RegTypeX AX AS INTEGER BX AS INTEGER CX AS INTEGER DX AS INTEGER BP AS INTEGER SI AS INTEGER DI AS INTEGER flags AS INTEGER DS AS INTEGER ES AS INTEGER END TYPE TYPE tm sec AS INTEGER min AS INTEGER hour AS INTEGER mday AS INTEGER mon AS IN...
- Mon Apr 08, 2013 3:23 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sched Handler (WIP)
- Replies: 11
- Views: 20505
1) post code that actually runs! Good or bad, you have to care before we do. NEX? USB? My bad, sorry. Fixed it. 2) all the elements of an array are zero already Apparently for some reason, because it runs in modules, it isn't. But you're right though, they should be zero.[/quote] 3) use dot names a...
- Sun Apr 07, 2013 10:37 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sched Handler (WIP)
- Replies: 11
- Views: 20505
Sched Handler (WIP)
For a w.i.p. (work in process) schedule handler, I've the following code: DIM SHARED task(100) AS INTEGER CONST NR.TASKS = 64 SUB sched.init FOR i = 1 TO NR.TASKS task(i) = 0 NEXT END SUB Now the thing is, that it doesn't walk through till the 64. When trying to debug, I REMarked task(i) = 0 and add...
- Fri Mar 22, 2013 9:02 pm
- Forum: News and Announcements
- Topic: QBinux core
- Replies: 1
- Views: 17623
QBinux core
As of just five minutes ago, the core to QBinux is a fact! Most of the code has been written and works. Unless there are people who are interested you can let me know by replying to this topic. Some code probably needs to be rewritten but it works, something I didn't have before in the nearly past 1...