Script.Items Help

edited 5:16PM in FastScript
Hi all

i've this script
procedure MyProc;
var MyProcSub: integer;
begin
  //...
end;

var MyGlobal: integer;
begin
	MyProc;
end.
and i list items in the script by this function:
procedure ListItems;
var i: integer;
begin
  ListBox1.Items.Clear;
  for i := 0 to fsScript1.Count - 1 do
    ListBox1.Items.Add(fsScript1.Items[i].Name + ': '+fsScript1.Items[i].TypeName);
end;
but i can see only global items like
-MyProc
-MyGlobal

is there any way to read "MyProcSub"?

Comments

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.