Search found 7 matches

by nyfiken
Tue Dec 04, 2007 3:04 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Cut binary file
Replies: 5
Views: 12801

Cut binary file

If I want to shorten a binary file, how can I do that?

When i use LOF(X) QB says the file has n length. Is it possible to trick QB so LOF(X) says n-1 length, or do I have to make a new shorter copy of the file?
________
Oregon Medical Marijuana Dispensaries
by nyfiken
Sun Sep 16, 2007 6:24 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Why not the same result?
Replies: 4
Views: 6529

Interesting, I thought QB was 100% safe regarding variables, that it generated some kind of oveflow error when the numbers were out of limit. Newertheless it's no problem if one knows about it. Thanks!
________
Bmw V5
by nyfiken
Sat Sep 15, 2007 5:05 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Why not the same result?
Replies: 4
Views: 6529

Why not the same result?

I?m confused about these few lines. Does anyone know why the number 20070501 becomes 20070500 in the last kolumn? CLS number$ = "20070501" PRINT number$; day$ = LEFT$(number$, 8) PRINT USING " ########"; VAL(day$); day = VAL(LEFT$(number$, 8)) PRINT USING " ########"; d...
by nyfiken
Wed Sep 12, 2007 10:42 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Prog Help plz
Replies: 10
Views: 17445

Couldn?t one use some form of neural network to make predictions? Are there any written for Qb?
________
Hysterectomy forums
by nyfiken
Tue Sep 04, 2007 12:21 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Large arrays
Replies: 5
Views: 8166

the biggest i could get to work was 125,125....so i made mine about 120,80...when i tried 900,900(a map) it locked up... Seems like max is 180,180 with integer (2 byte) and 127,127 with long or single (4 byte), a 64k limit. So 300,300 integer it should be 300*300*2=180 kb. After rewiewing my code I...
by nyfiken
Tue Sep 04, 2007 6:50 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Large arrays
Replies: 5
Views: 8166

Made a quick test, seems it will take to much time, I?ll take a look at VB for Win to se if I can solve it there instead. Thanks anyway. :)
________
X
by nyfiken
Tue Sep 04, 2007 3:48 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Large arrays
Replies: 5
Views: 8166

Large arrays

Does anyone know how to use arrays bigger than (180,180) in Qbasic or Quickbasic? Is it possible to use arrays of size (300,300) wich is 90Kb, or even better, (300,300,300) wich is 27 Mb? It seems one must use dynamic arrays, some switches in the command line, and some sort of EMS but I dont underst...