Questions tagged [circular-reference]

A circular reference is a series of references where the last object references the first, resulting in a closed loop.

A circular reference is a series of references where the last object references the first, resulting in a closed loop.

Circular references can appear in computer programming when one piece of code requires the result from another, but that code needs the result from the first.

Information is taken from Wikipedia, more information available there.

758 questions
-2
votes
1 answer

Translating circular reference from VBA to C# for Loan+Interest Capitalization formula

I am trying to convert VBA from an Excel Macro to C# to calculate a total loan amount where interest and a facility fee are capitalized to the loan balance, which then in turn means a higher interest and fee amount being capitalized as the loan…
-2
votes
1 answer

R solving circular reference

I am using a formula in Excel which gives a correct result only after enabling Iterative calculation. How to solve this iterative problem in R?
Narendra Sahu
  • 136
  • 2
  • 14
-2
votes
1 answer

How to create a shared code unit for other units?

I have two VCL Forms: Form1 in Unit1 and Form2 in Unit2. I also added another Unit into the Project, the Unit3. In the Unit3, the Unit1 and Unit2 were added in the uses list. I have managed to create a class that may manipulate other units (Unit1 &…
Wennie
  • 171
  • 1
  • 3
  • 13
-2
votes
2 answers

Circular declarations and circular references

I'm having trouble with this piece of code which shall evaluate numeric operations. I tried searching, but no answer seemed to be helpful. The base class to represent an operation is: Operacija.h: #pragma once #include using namespace…
-2
votes
1 answer

Interface implementation between two projects

from searching a solution to my circular reference problem between two projects, I came across this: You can have A depend on B. For simplicity lets say A.EXE depends on B.DLL. Then when A initially calls B, it can give it an object of some type…
Frank
  • 106
  • 1
  • 3
  • 10
-3
votes
3 answers

Circular Reference Error Excel 2013

I have an excel sheet and I need to add an if statement to one of my cells. Let's call cell D13 as X and cell E13 as Y. Basically what I need to do is ensure that if X>=1 then Y = Y + (0.5*X). However, I understand that I cannot just say "E13 +…
bumpfox
  • 17
  • 5
-4
votes
1 answer

ImportError: cannot import name 'Employee'

First, let me start by letting you know that I'm creating a time attendance and payroll software. I have multiple models with Employee at the center of the entire architecture. Different apps have different models each storing different kind of…
-5
votes
1 answer

How to deal with Circular References in VBA?

I would like to build an Excel function in VBA that checks the presence of a circular reference in a certain cell. I want the function to return a Boolean "TRUE" if there is a circular reference and "FALSE" otherwise. Here is my failed attempt:…
MBBertolucci
  • 1,261
  • 3
  • 13
  • 18
1 2 3
50
51