Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Misc > Re: compiling a...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 7 Topic 1407 of 1492
Post > Topic >>

Re: compiling a basic program

by Matthieu Benoit <matthieu.benoit@[EMAIL PROTECTED] > Jan 6, 2008 at 07:02 PM

winston19842005 wrote:
> 
> On 1/6/08 10:44 AM, in article 4780F760.4EB1@[EMAIL PROTECTED]
 "Matthieu Benoit"
> <matthieu.benoit@[EMAIL PROTECTED]
> wrote:
> 
> > Matthieu Benoit wrote:
> >>
> >> Hello,
> >> Could you help me to compile this basic program
> >> with QBASIC
> >> http://matthieu.benoit.free.fr/sources/calcd.bas
> >> I have an error at the put function saying
> >> expected variable=expression
> >> Thank you for your help,
> >> Matthieu
> > it seems that the function
> > PUT$ exists as described here :
> > http://www.powerbasic.com/sup****t/help/pbcc/put_statement1.htm
> > but I don't know why I can't compile the program with quick basic
> > thank you for your help,
> 
> Well, I do not recall a put$ in "quick basic". What version? QuickBasic
4.5?
> or Qbasic?
> 
> Position your cursor under the "put" and hit the help key (cannot
remember,
> is it F1?) to see if your version has put$. Otherwise, you will need to
> replace "put$" with "put", with perhaps some extra code.
I 've finally succeeded to compile the program with
freebasic http://sourceforge.net/projects/fbc/
fbc -lang qb calcd.bas
and replacing the put $ instruction by put #1,,chr$(oct) (added a comma)
the program seems to be working
Thanks for your help
Matthieu
 




 7 Posts in Topic:
compiling a basic program
Matthieu Benoit <matth  2008-01-05 17:30:37 
Re: compiling a basic program
winston19842005 <bjjly  2008-01-05 11:38:25 
Re: compiling a basic program
Matthieu Benoit <matth  2008-01-05 18:14:53 
Re: compiling a basic program
Matthieu Benoit <matth  2008-01-06 16:44:32 
Re: compiling a basic program
winston19842005 <bjjly  2008-01-06 11:13:57 
Re: compiling a basic program
Matthieu Benoit <matth  2008-01-06 17:32:38 
Re: compiling a basic program
Matthieu Benoit <matth  2008-01-06 19:02:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 2:35:17 CDT 2008.