System Units

Dear all,

I am looking for how to add the systems units to the scripts.

I am working with Delphi 2010. I would like to run the example bellow.

The MIN is a function that there is located in MATH system unit.

Anybory knows if is it possible to add the system units to the fsScript tool?

Script Example:

begin
ShowMessage(FloatToStr(min(10.5,50)));
end.

Best regards,

Marcio Pereira Garcia

Comments

  • edited 4:19PM
    Anybody can help me?

    Thanks!!!
  • edited 4:19PM
    Sorry posted in wrong forum earlier!

    Hi downloaded fastscript 1.6 to use with c++builder 2010

    Tried to compile the demo (Project1.bpr) get the following 2 errors:

    [BCC32 Error] Unit1.cpp(100): E2034 Cannot convert 'void (_fastcall * (_closure )(TfsScript *,const AnsiString,const AnsiString))(TfsScript *,const AnsiString,const AnsiString)' to 'TfsRunLineEvent'

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.