Difference between revisions of "TemplateProp"

From Overbyte
Jump to navigation Jump to search
 
Line 1: Line 1:
 +
[[Main_Page | Main page]] -> [[ICS_Components_Reference | ICS component reference]] -> Edit new property
 +
 
== Definition ==
 
== Definition ==
  

Revision as of 17:31, 19 February 2006

Main page -> ICS component reference -> Edit new property

Definition

function TCoffee.Name(const Parameter: string): string;

Inherited from TCustomCoffee.Name

Description

Name takes a string as argument then do nothing with it and then it returns the same string. Very usefull to keep the CPU busy.

Example

for n := 1 to 10 do
    BusyString := BusyString + Coffee.Name(BusyString);

Best practices

The use of this method is decouraged.

How to

There are a lot more interesting things to keep the CPU busy.