Teen Programmers Unite  
 

 

Return to forum top

Begginer Rapid-Q Question

Posted by kibodo [send private reply] at October 27, 2002, 01:20:40 AM

I am following the tutorial for rapid-q at http://www.basicguru.com/rapidq/docs/contents.html . Anyway, it tells me that this code:
add.onclick = addclick
will make it so when the user clicks on the "add" button it transfers to the subroutine "addclick" but when i try and run the program i get this error message:
Line 72: ERROR: Member ONCLICK of ADD expected an Event but got ADDCLICK

Does anyone know what is wrong?

Thanks,

Matt.

Posted by buzgub [send private reply] at October 27, 2002, 01:52:01 AM

At a guess, having never used rapidq, I'd suggest that you need to declare addclick as an event rather than a subroutine, or force some other conversion.

Posted by mop [send private reply] at October 27, 2002, 01:53:57 AM

that link is a 404, by the way.
is "DECLARE SUB addclick" at the begining? There also might be a problem with case sensitivity, although I'm not too sure about rapid-q's pickiness at that.

Posted by kibodo [send private reply] at October 27, 2002, 07:15:31 PM

Sorry about the 404, there is a peroid at the end of the link. Thanks for the thing about DECLARE SUB addclick at the beggining, for some reson the tutorial did not say to do this.

Posted by Qubit [send private reply] at October 29, 2002, 02:37:09 AM

ooof. DECLARE SUB !?!? qbasic memories. and the subs editor made things spiffy, right? :p

Posted by mop [send private reply] at October 29, 2002, 09:07:29 AM

unknown_lamer has a job editing subs...

Posted by vladimir_l [send private reply] at October 30, 2002, 06:27:59 AM

Kibodo , i used Rapid-Q a long while ago and i got numerous errors running it on linux or windows , its just not worth the struggle. It gets more errors than Microsoft Fortran Powerstation 1 , so its not really any good. I'm not going to force any programming language , but you might consider moving to another basic or c/fortran/sml.

Posted by DragonWolf [send private reply] at October 30, 2002, 10:15:45 AM

Are we talking about those Sandwiches again?

Posted by Qubit [send private reply] at October 31, 2002, 02:05:40 AM

*BuRp*

Posted by buzgub [send private reply] at October 31, 2002, 02:08:40 AM

Well. It seems that not only are we talking about those sandwhiches, but they are talking to us!

*Belch*

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.