Bridging the gap to Fusion through our PeopleSoft Solutions Extenders
Grey Sparling PeopleSoft Expert's Corner
Oracle Blogs
 Subscribe Now!
Interact with the experts here at Grey Sparling

Sunday, June 22, 2008

PeopleCode Variable Weirdness

Here's a quick quiz for you PeopleCode experts out there. Which of these lines of code will Application Designer accept (and run) and which ones will it not?

&! = "Am I valid?";
&@ = "Am I valid?";
&# = "Am I valid?";
&$ = "Am I valid?";
&% = "Am I valid?";
&^ = "Am I valid?";
&& = "Am I valid?";
&* = "Am I valid?";
&( = "Am I valid?";
&) = "Am I valid?";
&_ = "Am I valid?";
&- = "Am I valid?";


Here are the valid lines

&@ = "Am I valid?";
&# = "Am I valid?";
&$ = "Am I valid?";
&_ = "Am I valid?";


and here are the invalid lines

&! = "Am I valid?";
&% = "Am I valid?";
&^ = "Am I valid?";
&& = "Am I valid?";
&* = "Am I valid?";
&( = "Am I valid?";
&) = "Am I valid?";
&- = "Am I valid?";


Of course, this is more just interesting trivia as opposed to something that we would recommend doing.

Labels: ,

0Comments:

Post a Comment

<< Home