Stack Overflow

edited 10:01PM in FastScript
Hi folks...

I call this method:

fsScript1.AddClass(TVirtualTable,'TVirtualTable');

...and then my script is this:

function ProduceCRSExport : boolean;
var
oDataSet : TVirtualTable;
begin
oDataSet := TVirtualTable.Create;
result := true;
end;

begin
end.


I receive a stack overflow error. Why is this?

Regards,
Tony.

Comments

  • ShivanShivan Germany
    edited 10:01PM
    toneman wrote: »
    ...
    fsScript1.AddClass(TVirtualTable,'TVirtualTable');

    You get a stack overflow, because wrong usage of AddClass..
    First param is class, to be added. Second param is parent-classname.
    So correct usage would be:
    fsScript1.AddClass(TVirtualTable,[b]TVirtualTable.ClassParent.ClassName[/b]);
    

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.