Talk About Network



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 Powerbasic > Help Find Error
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 210 of 266
Post > Topic >>

Help Find Error

by mathedman@[EMAIL PROTECTED] Oct 18, 2006 at 05:58 PM

What's wrong with this code??

   In PBCC, I get a compile error # 476 here and yet I don't see the
error. (N , ALF and X are declared global variables in PBMAIN)

 SUB GetSol()
   LOCAL C AS LONG
   FOR C = 1 TO X
      IF X  MOD  C <> 0 THEN GOTO 99
      IF (C*N+C)  MOD ALF <> 0 THEN GOTO 99
      CALL UseThis(C)
      EXIT SUB
99
   NEXT C
END SUB




 7 Posts in Topic:
Help Find Error
mathedman@[EMAIL PROTECTE  2006-10-18 17:58:44 
Re: Help Find Error
earthling <somewhere@[  2006-10-18 18:45:29 
Re: Help Find Error
"Michael Mattias&quo  2006-10-18 20:36:48 
Re: Help Find Error
mathedman@[EMAIL PROTECTE  2006-10-19 14:23:49 
Re: Help Find Error
"Michael Mattias&quo  2006-10-19 14:59:11 
Re: Help Find Error
mathedman@[EMAIL PROTECTE  2006-10-19 14:21:43 
Re: Help Find Error
"Michael Mattias&quo  2006-10-19 17:59:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Wed May 14 19:19:21 CDT 2008.