REALbasic Trivia

| | Comments (14)

So here's a few trivia questions -- let's see how well you know REALbasic. Note, if you work for REAL Software (or used to work for us), please don't answer the questions since you have a rather unfair advantage. :: coughs :: Mars. :-P

1) Of the following symbols, which one(s) are not used in the REALbasic language?
\, ^, !, :, =, $

2) What was the original name of the product, and when did the name change happen?

3) Which of the following is technically not a keyword in the REALbasic language?
shared, static, variable, break, mod, short

4) We once had a bug (due to an OS upgrade) where a UI element became more colorful. What UI element was it, how was the bug shown, what OS upgrade caused it, and what other application(s) displayed the same bug?

5) What is the newest operator in the language?

14 Comments

I'm not cheating by using the ref or release notes...

1) Backslash is used as integer division operator. Caret is power, a fairly new addition. Exclamation point isn't used. Colon isn't used. Equals is used, of course, and dollar sign isn't used.
2) Cross Basic. I believe the change was somewhere around 97-98, but I was in elementary school in those days so I'm not sure...
3) variable, perhaps? I can't remember shared either.
4) It was either menus or statictexts, which burst out into blazing rainbow colors when our apps were run on Mac OS X 10.3. I'm not sure about what other apps showed the bug.
5) Got me there. The last one I can remember is ^ for raising to a power, replacing Pow(num, exp). We could use some nice bitwise operators; & | ~ would make great additions to r5!

OK, after I submit I'm off to check my answers...

What does "Shared" do? It's not in the LR or the Release Notes, but it's highlighted by the IDE. I can't remember ever using it.

Wait, I think I remember: Shared isn't used, but is reserved anyway. Right?

Isn't colon used for Case statements? Or is my brain stuck in C-ville as usual?

I'd answer your questions Adam, but I'd be cheating. ;-) I'll give the full, correct answers whenever people are basically done guessing. Don't worry, I won't leave you hanging!

@James: C-ville it is ;)

Number 4: It was menus, and it was when the app was run on OS X 10.1.

Yeah, I asked a RB-using buddy about 2 minutes after I hit submit. Alas!

You should find some use for the colon. I like colons.

Aren't colons used for Gotos?

@John: Aha! Dang, so I'm wrong again. Indeed, colons are used for GOTO labels. Bah, we should remove those anyway.

Colons are great, especially after frozen burritos.

1) $
2) CrossBasic - '97
3) short, I believe.
4) StaticText on 10.2 (I thought)... I never saw the bug, but I remember hearing about it.
5) ^

I think #5 is Continue

[...] Since this was quite fun last time, let’s try it again. [...]

Leave a comment

Disclaimer

I'm currently an employee of REAL Software. My blog is mine. The opinions represented in this blog are mine as well and may not represent my employer's opinions. All original material is copyrighted and property of the author.

REALbasic® is a registered trademark of REAL Software, Inc. REAL SQL Server™ and Lingua™ are pending trademarks of REAL Software, Inc. All rights reserved.