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 2:17AM
    Anybody can help me?

    Thanks!!!
  • edited 2:17AM
    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