Search found 342 matches

by Seb McClouth
Sat Jun 14, 2008 2:17 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: QBinux
Replies: 3
Views: 4942

QBinux

Hello I've got some bad news, due to the migration to a new laptop... something went wrong and I lost most of the original QBinux source files, so basically, I had to return to the drawing table to rewrite QBinux. Yeah you wonder, why didn't you make a back up? Well, it was the backup that failed me...
by Seb McClouth
Sun Apr 20, 2008 5:11 am
Forum: News and Announcements
Topic: QBinux
Replies: 4
Views: 11578

QBinux

Hey all I know it's been silent... even the alpha-testers were silent... That's why for the first time in QBinux history, I'm releasing the alpha-release to the public... Also McClouth Software has moved servers. We're now hosted by Zoastertech; http://mcclouth.zoastertech.com . And there you'll be ...
by Seb McClouth
Tue Feb 26, 2008 6:12 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: sizeof()
Replies: 12
Views: 14365

Ted, once again thx for the insight on this matter.
by Seb McClouth
Tue Feb 26, 2008 1:01 am
Forum: QBASIC and QB64 Questions & Answers
Topic: sizeof()
Replies: 12
Views: 14365

Sorry for not replying before. I meanted to ask how Mac calculated the LEN of his TYPE's.

Nevertheless is your info, Ted, very handy though.

Thx
by Seb McClouth
Tue Feb 26, 2008 1:00 am
Forum: General Discussion
Topic: asm
Replies: 3
Views: 6704

Pete, now I notice he's Pete Holmberg. I always misread only Berg, so I thought you wrote 'm....
by Seb McClouth
Fri Feb 22, 2008 2:29 am
Forum: QBASIC and QB64 Questions & Answers
Topic: sizeof()
Replies: 12
Views: 14365

Thx for the replies guys!

Burger, that's really handy! Pats, also handy, and I'll try that one for sure!. Mac could you explain that type thing more? Basicially I do:

Code: Select all

size=sizeof(type.partype):size=size+sizeof(type.partype2)... etc
I'll keep you guys updated on the progress.
by Seb McClouth
Thu Feb 21, 2008 11:11 am
Forum: General Discussion
Topic: PCOPY! #70 Submission Deadline
Replies: 3
Views: 6543

Hey Mystic

Well I could do that too, since I've already been working on some, like for example the bitshifting (with help ofcourse). I'll sit for that later today and write a C++ converting series... for PCOPY. Thx for the idea!!

Grtz
by Seb McClouth
Thu Feb 21, 2008 9:21 am
Forum: QBASIC and QB64 Questions & Answers
Topic: compile problem
Replies: 9
Views: 9661

I've fixed this by replacing some with DIM SHARED again. Only gotten a new problem. When I try to recompile the library, which used the same .bi-file... it gives error about all the COMMON SHARED... Any ideas on how to fix this?
by Seb McClouth
Thu Feb 21, 2008 4:07 am
Forum: General Discussion
Topic: PCOPY! #70 Submission Deadline
Replies: 3
Views: 6543

I've contributed to QBE... but I think I could do another one for PCOPY. I know a nice one. I'm currently working on converting a C++ operator/function to QB, namely sizeof(). Well before I go storming off and tell the whole damn article down here, I'll do some more work on it, and write an article ...
by Seb McClouth
Thu Feb 21, 2008 3:35 am
Forum: QBASIC and QB64 Questions & Answers
Topic: sizeof()
Replies: 12
Views: 14365

thx for the reply. Okay basically sizeof() is suppose to return the bytes of the certain input. Now here's the tricky part, the input should either be a defined TYPE, an INTEGER, a LONG, a SINGLE, a DOUBLE, or a STRING. Nicest thing is, sizeof() is a build in OPERATOR/FUNCTION in C, so I can't get a...
by Seb McClouth
Tue Feb 19, 2008 6:40 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: sizeof()
Replies: 12
Views: 14365

sizeof()

I'm working on the sizeof() FUNCTION and I was wondering if you could do a FUNCTION <name> (x AS ANY) where x can really be anything, an integer, a string, etc.

grtz
by Seb McClouth
Sun Feb 17, 2008 1:51 am
Forum: QBASIC and QB64 Questions & Answers
Topic: compile problem
Replies: 9
Views: 9661

Okay, it works. But now I'm stuck with a 'COMMON in Quick library too small'. I think I know what's causing this, but how to solve it? Does any one know.
by Seb McClouth
Sun Feb 17, 2008 1:25 am
Forum: QBASIC and QB64 Questions & Answers
Topic: compile problem
Replies: 9
Views: 9661

[quote="Seb McClouth"]Okay, basically I have the ! & mixed up, right? So that means that I should have this code: FUNCTION CheckID& (ChID AS LONG) DO FOR a = 1 TO 15 IF PID.appshelf(a) = ChID THEN ChID = GenID&(5) ELSE check = 1 END IF NEXT LOOP UNTIL check = 1 END FUNCTION FUNCTION GenID& (Lenght A...
by Seb McClouth
Sun Feb 17, 2008 1:25 am
Forum: QBASIC and QB64 Questions & Answers
Topic: compile problem
Replies: 9
Views: 9661

Okay, basically I have the ! & mixed up, right? So that means that I should have this code: FUNCTION CheckID& (ChID AS LONG) DO FOR a = 1 TO 15 IF PID.appshelf(a) = ChID THEN ChID = GenID&(5) ELSE check = 1 END IF NEXT LOOP UNTIL check = 1 END FUNCTION FUNCTION GenID& (Lenght AS INTEGER) RANDOMIZE T...
by Seb McClouth
Sat Feb 16, 2008 5:33 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: compile problem
Replies: 9
Views: 9661

Alright now I'm trying to compile a lib and I get stuck at the following: FUNCTION CheckID! (ChID AS LONG) DO FOR a = 1 TO 15 IF PID.appshelf(a) = ChID THEN ChID = GenID!(5) ELSE check = 1 END IF NEXT LOOP UNTIL check = 1 END FUNCTION FUNCTION GenID! (Lenght AS INTEGER) RANDOMIZE TIMER FOR a = 1 TO ...
by Seb McClouth
Thu Feb 14, 2008 1:34 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: compile problem
Replies: 9
Views: 9661

Ted, I've tried the changing DIM to COMMON and it works!! Thx mate!!
by Seb McClouth
Thu Feb 14, 2008 6:18 am
Forum: QBASIC and QB64 Questions & Answers
Topic: compile problem
Replies: 9
Views: 9661

Ok I'll give that a try. I do have to say that I have a .bi-file containing the DECLARE's, DIM SHARED's, CONST's, and $INCLUDEd it in all the modules.
by Seb McClouth
Tue Feb 12, 2008 3:30 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: compile problem
Replies: 9
Views: 9661

compile problem

I'm using a .mak to load in PDS. That goes all well. I have several things DIM SHARED or CONST, but alls those things aren't passed on somehow. Every file which I have loaded through .mak contains the '$include-thingy, but when running the code everything which has to be loaded into the DIM SHARED o...
by Seb McClouth
Fri Feb 08, 2008 4:12 pm
Forum: Pete's QB Site News
Topic: QB Express once again emerges from the dead...
Replies: 12
Views: 40820

My opinion be, keep QBE alive. It's one of the few still living newsletters in the Basic community. From what I've seen, there's not that much on Basic anymore... mostly Visual and all that. Pete, I appriciate that you keep the forum and keep releasing QBE. I'd have to say that your site and newslet...
by Seb McClouth
Thu Feb 07, 2008 5:48 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: binair to bits
Replies: 20
Views: 24744

Thx Pat's I look at it and I think I can make use of your code as well.

Grtz