know if a variable is defined

Hi everyone.

How can I tell if a variable is defined in PascalScript?



  • gpigpi Volnovakha, Ukraine

    uses fs_iinterpreter;

    var i: integer;

       v: TfsCustomVariable;


        for i:=0 to frxReport1.Variables.Count-1 do

          if frxReport1.Variables.Items[i].Name[1]<>' ' then


        for i := 0 to frxReport1.Script.Count - 1 do


            v := frxReport1.Script.Items[i];

            if v is TfsMethodHelper then

              ShowMessage(v.Name+' '+TfsMethodHelper(v).Syntax+' '+TfsMethodHelper(v).Description);



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.