We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Array Variable in a CalcQuickBase

Thread ID:

Created:

Updated:

Platform:

Replies:

96128 Aug 24,2010 02:44 AM UTC Aug 24,2010 06:26 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Calculate
Alexis Bilodeau
Asked On August 24, 2010 02:44 AM UTC

Hi,

Is there a way to index an array in an equation?

CalcQuickBase cqb = new CalcQuickBase();

cqb["A"] = {1,2,3,4}

For example, I would like to be able to use A(1) (which has a value of 2).

e.g. String s = cqb.ParseAndCompute("Sin([A(1)])");

Is it possible?

Thanks a lot,

Alex

Nirmal Raja [Syncfusion]
Replied On August 24, 2010 06:26 AM UTC

Hi Alex,

Thank you for your interest in Syncfusion products.

The calculate engine of each entry will have the values or formula of the grid and does not hold a array as it retrieves the hash table behavior. Instead you can have any string as a key to the engine to have the values according to the values.

Please refer the sample from our browser sample in the following location:
{Installed Drive}:\Syncfusion\EssentialStudio\8.3.0.21\Windows\Calculate.Windows\Samples\2.0\Working With CalcQuick Demo\cs

Let me know if you have any queries.

Regards,
Nirmal

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;