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

Environmental News
Not acting like themselves: Antidepressants in environment alter crayf...
Expose crayfish to antidepressants, and they become more outgoing -- but that might not be such a positive thing for the...

Heat from below: How the ocean is wearing down the Arctic sea ice
The influx of warmer water masses from the North Atlantic into the European marginal seas plays a significant role in th...

Research reveals why people pick certain campsites
Those in love with the outdoors can spend their entire lives chasing that perfect campsite. New research suggests what t...
Source: Science Daily
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: 3431 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"