on init
USE_CODE_IF_NOT(TEST)
// a comment...
declare poo
END_USE_CODE
message(poo)
end on
Since latest update 1.9.10 this doesn't compile:
It's because of the 3 (or more) dots in the comment. I know, easily avoided but just so happens that I had that in my code and couldn't figure out why code that compiled yesteday wouldn't compile today. Thought I should mention it in case someone else has the same problem.Code:on init USE_CODE_IF_NOT(TEST) // a comment... declare poo END_USE_CODE message(poo) end on
on init
declare pers ui_button $5
end on
{ Compiled on Fri Jul 31 20:25:42 2020 }
on init
declare $concat_it
declare $concat_offset
declare $string_it
declare $list_it
declare $preproc_i
declare ui_button $5
make_persistent(5)
end on
on init
macro declare_var (#name#)
declare $#name#
declare $pnl_#name#
#name# -> parent_panel := $pnl_#name#
end macro
declare_var(A)
declare_var(B)
end on
{ Compiled on Mon Aug 31 20:11:26 2020 }
on init
declare $concat_it
declare $concat_offset
declare $string_it
declare $list_it
declare $preproc_i
declare $A
declare $pnl_A
set_control_par($A,$CONTROL_PAR_PARENT_PANEL,$pnl_A)
declare $B
declare $pnl_B
set_control_par($B,$CONTROL_PAR_PARENT_PANEL,$pnl_B)
end on
macro view.layer.block(#side#, x, y, width, height, mouse)
family layers
view.layers.slider(stereo_width_#side#, "", x + $x_off * 2 + $x_off_dist, y + $y_off_top, 500000, 1000000, 500000, mouse)
layers.sli_stereo_width_#side# -> HELP := "stereo width"
end family
end macro
view.layers.slider(stereo_width_#side#, "", #x# + $x_off * 2 + $x_off_dist, #y# + $y_off_top, 500000, 1000000, 500000, #mouse#)