Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with constant - maybe
#1
   

I am attempting to "restock" my "to N7" conversions and have come across a bit of a puzzle in regards to "constant"

The error in line #10 seems to be objecting to "pr". If I change "pr" to the value of "pr", as in the previous constant, to 16 - "constant pr2 = 2 * 16" the error clears. Then the same error occurs for line #11 and 12. Keying in the actual value of "xmax" and "tl" clears the error.

Similar error for lines 14 and 15.

It looks like that constant does not like using or referring to a previous constant value.

Also, constant does not seem to like int(), in lines 14, 15 and 17.

Could there be an issue with 'constant' or perhaps I am doing this incorrectly... My money is on the latter... lol

J
Logic is the beginning of wisdom.
Reply


Messages In This Thread
Problem with constant - maybe - by johnno56 - 11-27-2023, 07:14 AM
RE: Problem with constant - maybe - by Marcus - 11-27-2023, 09:11 AM
RE: Problem with constant - maybe - by johnno56 - 11-27-2023, 09:43 AM
RE: Problem with constant - maybe - by Marcus - 11-27-2023, 02:24 PM
RE: Problem with constant - maybe - by johnno56 - 11-27-2023, 06:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)