justin = {
main feed
,
music
,
code
= {
cockos
,
reaper
,
wdl
,
ninjam
,
jsfx
,
more
}
,
askjf
,
pubkey
};
Ask Justin Frankel
No reasonable question unanswered since 2009!
Suggested topics: programming, music, sleep, coffee, etc.
Note: please do not ask questions about REAPER features, bugs or scheduling, use the
forums
instead.
Name:
Ask:
Human (enter yes):
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Question:
how come this is working alright without error, when slider1 has modes 0,1,2 and only mode 0 and 2 are mentioned in the logic. I thought it was compulsory to specify the slider1 mode 1 too even though mode 1 doesn't work with the pan variable, I thought JSFX ternary syntax will require it? Is this safe? slider1 == 0 ? ( pan = slider9 / 100; ) : slider1 == 2 ? ( pan = slider12 / 100; );
Asked by JSFX ternary (102.176.101.x) on March 2 2026, 2:17pm
Reply on March 3 2026, 6:07am:
in that case, if slider1 is not 0 or 2, pan will not be modified
Comments:
Posted by JSFX ternary (102.176.65.x) on March 3 2026, 8:03am:
Okay. Thanks.
Comment:
Your Name:
-- Site Owner's Name:
(for human-verification) Comment:
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Copyright 2026 Justin Frankel
.
|
RSS