Forums Anyscript.org  

Go Back   Forums Anyscript.org > Archive > AnyScript Message Archive

Notices

 
 
Thread Tools Display Modes
  #1  
Old 03-19-2009, 06:48 AM
naoko.blanca
Guest
 
Posts: n/a
Default "IF.." function

Dear Support,

Hello.

I would like to know about "IF .. then .. else .. " function.
Many programming languages have "IF.." function.
If it exists in AnyScript, we can give the models different move or different
power according to the situation.

For example, "arm2d.any" in tutorial/StudyOfStudies,

1) According to the angle of Elbow , "Main.ArmModel.Muscles.MusMdl.F0" changes.
2) According to the angle of Elbow , "Main.ArmModel.Loads.Dumbbell.F" changes.

I know, when I use external text files as angles of Elbow , F0 and F, I might
be able to do it in some case.
But if "IF.." function exists, it is more convenient.

And there described about "AnyFunIf" function in AnyScript Reference Manual,
and it is "Hidden" type.
Is it possible to use ?

Thank you.

Regards,
Naoko

 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:18 PM.