Link to home
Start Free TrialLog in
Avatar of ravenpl
ravenplFlag for Poland

asked on

expect, using associative arrays

Can somebody give me example of using associative arrays within expect script?
I need to create a map from string to string, then access/get value by key.
Avatar of ravenpl
ravenpl
Flag of Poland image

ASKER

Also, is there a way to use if/else statement?
SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial