BBC BASIC for Windows
« Validation at compile time »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 9:59pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Validation at compile time  (Read 848 times)
simong42
New Member
Image


member is offline

Avatar




PM


Posts: 14
xx Validation at compile time
« Thread started on: Mar 14th, 2013, 5:58pm »

Are there any validation checks carried out at compile time?

e.g. unrecognised keyword, invalid character, mismatched FOR / NEXT.
« Last Edit: Mar 14th, 2013, 5:59pm by simong42 » User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Validation at compile time
« Reply #1 on: Mar 14th, 2013, 6:52pm »

on Mar 14th, 2013, 5:58pm, simong42 wrote:
Are there any validation checks carried out at compile time?

There are a few, but not many. Some compile-time checks are as follows:
  • ELSE without a preceding IF or ON
  • Assembler code syntax error
  • Missing \ at start of continuation line
  • Illegal character in variable name
  • WHEN, ENDCASE, OTHERWISE or ENDIF not at start of line
  • Mismatched quotes
Richard.
User IP Logged

simong42
New Member
Image


member is offline

Avatar




PM


Posts: 14
xx Re: Validation at compile time
« Reply #2 on: Mar 15th, 2013, 08:33am »

Thanks, that's helpful.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls