Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The following table displays the AOT elements that work together to process the
public str formatWholeName
(str _firstName, str _lastName)
{
return _lastName + ", " + _firstName;
return _lastName + ', ' + _firstName;
}
```

Expand All @@ -64,14 +64,14 @@ static public void formatWholeNameEhBefore(XppPrePostArgs ppArgs)
{
str firstName;
//
firstName = ppArgs.getArg("_firstName");
if ("Dave" == firstName)
firstName = ppArgs.getArg('_firstName');
if ('Dave' == firstName)
{
ppArgs.setArg("_firstName", "David");
ppArgs.setArg('_firstName', 'David');
}
else if ("Bill" == firstName)
else if ('Bill' == firstName)
{
ppArgs.setArg("_firstName", "William");
ppArgs.setArg('_firstName', 'William');
}
}
```
Expand All @@ -98,10 +98,10 @@ static void Job1NameEhBefore(Args _args)
// Run a method that has a pre-method event handler,
// one that starts and ends before the method starts.
formattedWholeName = testClass9.formatWholeName
("Dave", "Ahs");
('Dave', 'Ahs');
// The Infolog displays the effect of the before-method event handler.
info(strFmt
("%1 == the formatted formal name.",
('%1 == the formatted formal name.',
formattedWholeName));
}
/*** Output displayed in the Infolog:
Expand Down