Qbasicnews.com
Problem with FBIde - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html)
+--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html)
+--- Thread: Problem with FBIde (/thread-8374.html)

Pages: 1 2 3


Problem with FBIde - wallace - 11-10-2005

I just downloaded and installed the new FBIde with FB.14. I don't get this:

Code:
screen 13
print "Hello World"
sleep
end

doesn't compile. I installed the package and checked the path of fbc. What's wrong?


Problem with FBIde - Jofers - 11-10-2005

Did it give you an error message? I couldn't tell you what's wrong without some more details.


Problem with FBIde - wallace - 11-10-2005

no error message. The path to the compiler was right, but it was calling FPP instead of fbc, what is fpp anyway?


Problem with FBIde - Jofers - 11-11-2005

fpp is some preprocessor Von Godric sutffed in there. Dunno why.


Problem with FBIde - Anonymous - 11-11-2005

to be honest, i think that is a bad idea.

im not saying that fpp sux (never used it) or anything, im saying that it shouldnt be included with the 'out-of-the-box' fb installation and default paths set to it... thats confusing.. and weird.

give the installer an option to install it, and also a prompt saying tht the path is set for fpp, and if the user wants to change it in the future do 'blabla' ;P

my 2 cents


Problem with FBIde - axipher - 12-11-2005

Just change it to fbc.exe, not hard, I had to do the same, fpp.exe doesn't compile with FBide.


Problem with FBIde - WaffleMan - 12-12-2005

Even though this is an old topic, I thought I'd mention this for future referance to FB newbies:

Unlike QB, when FB comes to an "END" statement, it quits the program without waiting for the user to press any key. That's why this often comes in handy:

Code:
WHILE INKEY$=""
  WEND

I think that's one of the reasons it seemed to not compile. Confused me for a while until I figured out the difference.


Problem with FBIde - axipher - 12-12-2005

Just put this ti the end of your code.

Code:
SLEEP
SYSTEM

This way it won't do anything instead of ending right away. Waffleman's Code is alright, but mines slightly shorter.


Problem with FBIde - yetifoot - 12-12-2005

i enjoy Shell "PAUSE"


Problem with FBIde - axipher - 12-12-2005

What does sheel "pause" do???