Go Back   Forums > Archive > AnyScript Message Archive


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

Dear Support,


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.



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 02:08 PM.