Article Preview
Buy Now
COLUMN
Dynamic RB, Part 1
Using RBScript for interactive action
Issue: 5.5 (July/August 2007)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 19,473
Starting Page Number: 34
Article Number: 5511
Resource File(s):
5511.zip Updated: 2007-07-16 12:20:02
Related Link(s): None
Excerpt of article text...
My first computer programming experience was with BASIC, the interpreted kind with line numbers and funny syntax like A$. This was back in the old days, when every computer came with some kind of BASIC (it was practically
the operating system). BASIC was great for learning because you could just type in some code -- likePRINT 45*10
-- and see a result immediately. But did you know you can have that same kind of interaction with REALbasic?It's easily overlooked, but one of REALbasic's coolest features is something called RBScript. RBScript is basically a way to let your compiled, running application run raw REALbasic code. Your application will compile and run the code while your app is running.
Why would you want to do such a thing? There are many reasons. Any time you have a need to be able to modify the way an application behaves without having to build a new version of the app, you should consider RBScripting.
...End of Excerpt. Please purchase the magazine to read the full article.