How to set a in commands a function with parameter

Elik L.
Irvine, CA

Dec 26, 2024
3 Posts

0  |  0  

Re: How to set a in commands a function with parameter

I have a function that I want to set in commands the command with a type. For example: function m_set(enumType).  The command is Set on and set off.
The types are in enumOn_Off are: enumOn_Off.ON , enumOn_Off.OFF.
Usually when attach a procedure you get in the command the syntax m_set(enumType).
How to make the command
Set
       Mode
                  On          m_set(enumOn_Off.ON)
                  Off         m_set(enumOn_Off.OFF)

Thanks.

Solution Available
DrATEasy (Ron Y.)
Mission Viejo, CA

Dec 27, 2024
372 Posts

1  |  0  

Re: How to set a in commands a function with parameter

Use the Command parameter replacement window (shown bellow the command tree) and type there the constant arguments you want to pass. Look in page 117 of ATEasy 2023 getting started for the image.

Ron



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]