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.
Unfortunately, activation email could not send to your email. Please try again.

Array Variable in a CalcQuickBase

Thread ID:





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


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,


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

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\\Windows\Calculate.Windows\Samples\2.0\Working With CalcQuick Demo\cs

Let me know if you have any queries.



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.

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.