|
-
Jul 13th, 2009, 02:08 AM
#1
Thread Starter
Junior Member
Creating very small scripting language: conditional statements?
I'm extending my application with plugins and a small scripting language. It will only have 1 or 2 objects available.
I can probably do variables but I'm kind of at a loss for how to do conditional statements. I've never tried anything like this before and I'm actually kind of confused on where to start also.
But the main concern is conditional statements. It will only contain If/Then statements. Can someone give me some pseudo-code or logic or an example or something? 
I found a few examples on Planet Source Code, but a lot were way too complex/sloppy-coded to be of much use and pick out the important parts.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|