Click here to Skip to main content
15,892,674 members
Articles / Programming Languages / Visual Basic

Introduction to GOLD Parser

Rate me:
Please Sign up or sign in to vote.
4.67/5 (26 votes)
26 May 2005CPOL9 min read 262.5K   6.7K   129  
This article introduces the GOLD Parser, a free, multi-programming language parser.
Assign SecretNumber = 64

Display 'Please guess the secret number' Read Guess

While Guess <> SecretNumber Do
    If Guess < SecretNumber Then 
        Display 'Your guess was too LOW. Try again.' Read Guess
    End

    If Guess > SecretNumber Then 
        Display 'Your guess was too HIGH. Try again.' Read Guess
    End
End

Display 'Correct!'

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Canada Canada
Adrian Moore is the Development Manager for the SCADA Vision system developed by ABB Inc in Calgary, Alberta.

He has been interested in compilers, parsers, real-time database systems and peer-to-peer solutions since the early 90's. In his spare time, he is currently working on a SQL parser for querying .NET DataSets (http://www.queryadataset.com).

Adrian is a Microsoft MVP for Windows Networking.

Comments and Discussions