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 Powerbasic > Re: Help Find E...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 7 Topic 210 of 276
Post > Topic >>

Re: Help Find Error

by "Michael Mattias" <mmattias@[EMAIL PROTECTED] > Oct 19, 2006 at 05:59 PM

<mathedman@[EMAIL PROTECTED]
> wrote in message 
news:7a2fj2d13kjg4s96bsa0rcn1j3885k4boc@[EMAIL PROTECTED]
> There is no
> "block statements in a single line if statement" (is that physically
> possible ?! a slock of statements in a single line ???)

IF    Z  THEN _
   GOTO  Label

This is a single line if statement - using two physical lines via the 
underscore continuation character.

IF    Z THEN _
   FUNCTION Foo
   END FUNCTION
   GOTO  Label

This is a ....  476 error, block/scanned statement not allowed within IF 
statement (single line or block)

Academic, anyway. There is no error re****ted with the posted code (see my 
prior note in which I compiled the code without a problem).

He has something wrong somewhere else, somewhere else conveniently not 
shown. But just looking at the coding style demonstrated in this brief 
snippet, can't say I'm surprised at him getting a 476 error.

MCM
 




 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 Fri Jul 25 20:41:48 CDT 2008.