Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2009
    Posts
    3

    Function into a function

    Hi all,

    is it possible to place a function into another?
    Like this below:

    alfa = math.round((math.atan(triZ/dpiant)*180/3.14), 1)

    There must be a problem, because compiler returns an error.


    Thank you
    PWD

  2. #2
    Join Date
    May 2006
    Posts
    1,443
    there is no round function in native Lua

    you should use AMS's that starts with capital

    Code:
    alfa = Math.Round((math.atan(triZ/dpiant)*180/3.14), 1);

  3. #3
    Join Date
    Mar 2009
    Posts
    3
    Thank you very much reteset...

    How about focus for input boxes?
    Is there a way to set focus (blue selected field) when use tab button o click in with the mouse?
    Using Input.SetSelection but I think something goes wrong...

    Thank you

Similar Threads

  1. Database Action Plugin v2.0
    By ShadowUK in forum AutoPlay Media Studio 7.5
    Replies: 10
    Last Post: 01-26-2009, 05:57 AM
  2. buttons disappear
    By mgokkaya in forum AutoPlay Media Studio 6.0
    Replies: 5
    Last Post: 04-11-2008, 02:40 PM
  3. Another tough one... Interaction between Web and AMS
    By Agent Jones in forum AutoPlay Media Studio 5.0
    Replies: 13
    Last Post: 08-18-2005, 02:10 PM
  4. Bizarre Callback Function Behaviour - Can anyone help?
    By SRJ in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 06-30-2004, 09:16 PM
  5. Function: Resize & Center an Image
    By kpsmith in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-17-2004, 01:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts