Won't compile - why?
jjames
Posts: 2,908
Just wrote a module, and I like to line things up and such in code, and I'm wondering why this won't compile:
but this will:
Any ideas?
DEFINE_MODULE 'ZTUNER_GUI_COMM' ZTUNER1 ( vdvZTUNER ,// VIRTUAL DEVICE dvZTUNER ,// REAL DEVICE dv_TP ,// TOUCH PANELS THAT CONTROL ABOVE REAL DEVICE nZTUNER_BTNS ,// ZTUNER BUTTONS nZTUNER_PRESETS ,// ZTUNER PRESETS nGUI_OPTIONS // ADDITIONAL TP / ZTUNER OPTIONS )
but this will:
DEFINE_MODULE 'ZTUNER_GUI_COMM' ZTUNER1 (vdvZTUNER ,// VIRTUAL DEVICE dvZTUNER ,// REAL DEVICE dv_TP ,// TOUCH PANELS THAT CONTROL ABOVE REAL DEVICE nZTUNER_BTNS ,// ZTUNER BUTTONS nZTUNER_PRESETS ,// ZTUNER PRESETS nGUI_OPTIONS) // ADDITIONAL TP / ZTUNER OPTIONS
Any ideas?
0
Comments
If you do it absolutely correct, the module definition needs also an instance name (you MUST do this if you use the module in multiple instances):
Not me...I achieved the same results as jjames...different builds of studio???
I have Studio 2.4.0.129
Compiler 2.3.0.0
Same here . . .
However if you hit the backspace key and bring the closing paren to the same line as the last argument then I believe you will find it compiles fine.
Sounds fishy to me.
sorry, I was blind (why is the forum not highlighting the source :rolleyes: )
Me Neither...This is what I used...
Does Not Compile...
Does Compile...
Tech Support (multiple members) have confirmed this kind of SNAFU does occur. MADDENING...