Search found 110 matches
- Sun May 02, 2010 1:57 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: EOF
- Replies: 4
- Views: 16746
EOF
When opening a file by typing "open" everything works, but it doesn't work with "print". Can anyone tell me why, it doesn't make any sense to me? :? DO INPUT a$ IF a$ = "open" THEN INPUT "name:", filename$ OPEN filename$ FOR INPUT AS #1 DO WHILE NOT EOF(1) INP...
- Wed Apr 28, 2010 8:18 am
- Forum: General Discussion
- Topic: Raycasting game...
- Replies: 6
- Views: 22786
- Wed Apr 28, 2010 6:51 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: FILES
- Replies: 3
- Views: 8066
- Tue Apr 27, 2010 10:28 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: FILES
- Replies: 3
- Views: 8066
FILES
I am using QB64, but it FILES isn't implemented yet so I am making a replacement for it by using SHELL and DIR. SHELL "dir *.TXT > txt.txt " 'and then I open txt.txt and print it This works perfectly, but it prints the date when the file was created. Does anyone know how to remove it so I ...
- Fri Mar 05, 2010 9:28 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: IF
- Replies: 17
- Views: 38110
But what i have more inputs in a command like this:
Code: Select all
sound,2,400
- Thu Mar 04, 2010 11:58 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: IF
- Replies: 17
- Views: 38110
BigBadKing, your code works perfectly, but when I add
after GOTO part it doesn't work. Why?
Code: Select all
CASE "beep"
BEEP
after GOTO part it doesn't work. Why?
- Wed Mar 03, 2010 12:59 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: IF
- Replies: 17
- Views: 38110
- Wed Mar 03, 2010 7:01 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: IF
- Replies: 17
- Views: 38110
- Tue Mar 02, 2010 1:53 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: IF
- Replies: 17
- Views: 38110
- Tue Mar 02, 2010 12:53 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: IF
- Replies: 17
- Views: 38110
I found a way how to make IF command with 2 variables just like told me, but i have trouble with GOTO. It would work like this: start: variable1 = 2 variable2 = 3 IF,variable1<variable2,THEN,GOTO,start: But I don't know how to make GOTO because the program would need to search the code for the "...
- Tue Mar 02, 2010 11:50 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: IF
- Replies: 17
- Views: 38110
- Mon Mar 01, 2010 4:54 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: IF
- Replies: 17
- Views: 38110
IF
I am working on my programing language and it would help if I'd know how to implement IF-END IF in it. So are there any examples that someone is willing to show?
- Tue Feb 02, 2010 4:34 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Mining problem...
- Replies: 4
- Views: 8863
- Tue Feb 02, 2010 7:50 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Mining problem...
- Replies: 4
- Views: 8863
- Mon Feb 01, 2010 4:48 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Mining problem...
- Replies: 4
- Views: 8863
Mining problem...
Post including QB64 code! A few moths ago i have made a little game called Mining. Basically you are a funny looking dude with a pickaxe. Lets put the story on the side and start with my problem :) I'm not sure why don't the tiles appear in upper left corner, that's my problem. Few thing that i have...
- Wed Jan 06, 2010 2:47 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: New to the forum
- Replies: 5
- Views: 13199
- Sat Dec 26, 2009 7:23 am
- Forum: General Discussion
- Topic: VERY cool flash program
- Replies: 1
- Views: 7824
Nice thing.
http://inudge.net/inudge#/d1xh
http://inudge.net/inudge#/d1xh
- Wed Dec 09, 2009 4:36 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: SUBs
- Replies: 3
- Views: 7096
- Wed Dec 09, 2009 2:21 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: SUBs
- Replies: 3
- Views: 7096
SUBs
I have a little problem with SUBs. I'm not sure if anyone can help me with this without looking at the code, but here I go. In my program I have more than 10 SUBs (that changes nothing) and I call one from another. And here goes the problem: very often after a few secondes previous SUB loads without...
- Sun Nov 29, 2009 3:42 pm
- Forum: General Discussion
- Topic: New forum! Come join!
- Replies: 7
- Views: 20150
First: It happens to me too, it really ticks me off, but i started to copy message body before submit. Second: I joined your forum, nice place. Already got a post up but pictures aren't working well so if anyone wants to view them just copy the link inside [img]and[/img]. There is a same post here: ...