Little improvement

edited 6:15AM in FastScript
;)

Is suggest a little improvement in fs_tree.GetCategoryName proc.

This will allow additional user defined categories to be added to the Tree.

From:

function GetCategoryByName(s: String): String;
begin
if s = 'ctConv' then result := 'Conversion'
else if s = 'ctFormat' then result := 'Formatting'
else if s = 'ctDate' then result := 'Date/Time'
else if s = 'ctString' then result := 'String routines'
else if s = 'ctMath' then result := 'Mathematical'
else if s = 'ctOther' then result := 'Other';
end;

To:

function GetCategoryByName(s: String): String;
begin
if s = 'ctConv' then result := 'Conversion'
else if s = 'ctFormat' then result := 'Formatting'
else if s = 'ctDate' then result := 'Date/Time'
else if s = 'ctString' then result := 'String routines'
else if s = 'ctMath' then result := 'Mathematical'
else if s = 'ctOther' then result := 'Other'
{+IN - other categories will be added}
else
result := s;
end;

Excellent work on the Fast Script. The best piece on the market

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.