We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

[5] For...Next statement

Last post 11-01-2003 9:09 AM by davour. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 01-01-1999 12:00 AM

    [5] For...Next statement

    This thread is for discussions of For...Next statement.

    • Post Points: 0
  • 10-24-2001 3:18 PM In reply to

    Stupid Question (I think)

    Is it possible to create a circular reference (in any programming language), because I know that Excel won't do it?
    • Post Points: 0
  • 10-29-2001 4:15 PM In reply to

    • James Crowley
    • Top 10 Contributor
    • Joined on 12-07-2000
    • United Kingdom
    • Guru
    • Points 14,855
    • SystemAdministrator
    What exactly do you mean by a circular reference...? (I know what you mean in reference to Excel, but I'm not sure how'd that translate to another language...)
    • Post Points: 0
  • 10-30-2001 8:39 AM In reply to

    I need to create an If...Then loop because I  need an equation such as a * b = c and a / c = b and b / c = a where the user types in 2 of the variables in text boxes and some proccess (such as a button click) would calculate the result.  At the moment I keep getting the syntax wrong (am quite new to programing) so it never works
    • Post Points: 0
  • 11-01-2003 9:09 AM In reply to

    • davour
    • Top 500 Contributor
    • Joined on 11-01-2003
    • Member
    • Points 375
    Quote:
    I  need an equation such as a * b = c and a / c = b and b / c = a where the user types in 2 of the variables in text boxes and some proccess (such as a button click) would calculate the result.  


    first, I know what you mean by circular reference but in the way excel means it is that a circular reference is a feedback loop... and any programming that allows this usualy crashes

    So... lets see what you want to perform.

    we are creating the value of "C" from both "A" and "B"
    we are creating the value of "B" from both "A" and "C"
    we are creating the value of "A" from both "B" and "C"

    It cant work

    you cant create a value from nothing - to make anything you must add something to it to create it

    ie. think of it this way - your mum and dad created you, thats an equation
    if Mum = A and Dad = B and You are C then
    A + B = C

    Ok, so... now this is just an equation and dont get all religious on me but lets say you wanted to do the following equation

    Mum + Son = Dad
    or Son + Dad = Mum

    Since Son is a product of Mum and Dad you cant use that product to create its source

    Why would you need this equation, im curious?

    • Post Points: 0
Page 1 of 1 (5 items)