Welcome to WEAP's Website WEAP
WEAP is an initiative of the Stockholm Environment Institute.


About WEAP

Home
Why WEAP?
Features
What's New?
Sample Screens
Demonstration
Publications
History and Credits

Using WEAP
Download
Licensing
User Guide
Tutorial
Videos (YouTube)

User Forum
Discussions
Members List
Edit Profile

Additional Support
Training
University Courses
Collaboration

About Us
SEI-US Water Resources Program
Please Contact Us

LEAP
Interested in Energy?
Read about LEAP: SEI's software for energy planning.

Link WEAP and LEAP for combined Water-Energy planning.
Watch a video demo!
   

User Forum

All Topics | Topic "Using ResultSetting API in Javascript"
Log in to post new messages or reply to existing messages.
 
Author Message
Mr. Mostafa Fard

Subject: Using ResultSetting API in Javascript   
Posted: 7/7/2018 Viewed: 9390 times
Hi,
I am using Javascript to use WEAP's APIs. When I want to use ResultSetting API in my javascript code, I get the following error:

Code: WEAP.ResultSetting("Variable") = "River Headflow";
Error: the left-hand side of an assignment must be a variable property access

Is there any different way to set Result Setting in Javascript?!?
Thanks
Topic "Using ResultSetting API in Javascript"