Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Generated Code Bug with Commented out Properties
Collapse
X
-
Generated Code Bug with Commented out Properties
It seems as though the generated code ignores when properties are commented out with the /* */ syntax. It still tries to include input parameters that are commented out into the generated code.Tags: None
-
Thanks Chelsea. That actually didn't work in this case. I had to delete out the commented out properties for it to compile. I think the code parser is ignoring the comment syntax for some reason.
Comment
-
Originally posted by GrumpyTrader View PostIt seems as though the generated code ignores when properties are commented out with the /* */ syntax. It still tries to include input parameters that are commented out into the generated code.
As Chelsea says, sometimes the only resolution has been to copy the code into another indicator and delete the errant one before compiling.
Comment
-
Hi Chelsea,
I copied it to a new indicator, but I didn't delete the old one. The only way to fix it was to delete the commented out properties.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
57 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
36 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
19 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
9 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment