Cockos Incorporated Forums 2 WALTER questions
 Register Track Bugs/Feature Requests Search Today's Posts Mark Forums Read

 03-17-2013, 05:38 PM #1 DarkStar Human being with feelings     Join Date: May 2006 Location: Surrey, UK Posts: 17,847 2 WALTER questions In the sets of 8 numbers [10 50 20 20 0 1 0 1] can I have operators? Such as [10 10+40 20 20 0 1 0 1] And the Themer's Guide shows how to sum numbers into a variable: set tcp.fx + [3 3 0 0 0 0 0 0] [0 0 20 20 0 0 0 0] Can I subtract the numbers, with something like: set tcp.fx - [3 3 0 0 0 0 0 0] [10 10 20 20 0 0 0 0] or should it be set tcp.fx - [10 10 20 20 0 0 0 0] [3 3 0 0 0 0 0 0] __________________ DarkStar ... interesting, if true. . . . Inspired by ...
03-17-2013, 10:00 PM   #2
rst
Human being with feelings

Join Date: Sep 2009
Location: Vilnius, Lithuania
Posts: 54

Quote:
 Originally Posted by DarkStar In the sets of 8 numbers [10 50 20 20 0 1 0 1] can I have operators? Such as [10 10+40 20 20 0 1 0 1] And the Themer's Guide shows how to sum numbers into a variable: set tcp.fx + [3 3 0 0 0 0 0 0] [0 0 20 20 0 0 0 0] Can I subtract the numbers, with something like: set tcp.fx - [3 3 0 0 0 0 0 0] [10 10 20 20 0 0 0 0] or should it be set tcp.fx - [10 10 20 20 0 0 0 0] [3 3 0 0 0 0 0 0]
I think operations inside brackets does not work.
Substraction does not work too. You can change to sum with negative values
like + [-3 -3 0 0 0 0 0 0] [10 10 20 20 0 0 0 0]
When you have sum - then there is no difference in which order you put operands.

 03-18-2013, 03:16 AM #3 DarkStar Human being with feelings     Join Date: May 2006 Location: Surrey, UK Posts: 17,847 OK, thank you The subtraction was going to be for specifying borders, "-3 pixels wide" For the operations in the sets of 8 numbers, I suppose I could have set tcp.anchor [10 40 20 20 0 1 0 1] set tcp.xyz + tcp.anchor [0 10 0 0 0 0 0 0 0 ] That way, my base definition is the first set and the second set moves it by 10 pixels. __________________ DarkStar ... interesting, if true. . . . Inspired by ...

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home General Discussion     General Discussion (aka spam trap) REAPER Forums     REAPER General Discussion Forum     newbieland     REAPER Q&A, Tips, Tricks and Howto     Recording Technologies and Techniques     REAPER Compatibility     REAPER Color Themes and Icon Sets     MIDI Hardware, Control Surfaces, and OSC     REAPER Non-English Speaking User Forums         Forum de REAPER en français         Foro de REAPER en Español         Fórum do REAPER em português         Forum di REAPER in italiano         Deutschsprachiges REAPER Userforum         Pyccкоязычный фopyм REAPER     REAPER Bug Reports     REAPER Feature Requests     Dstruct's Casa De Nitpicks     REAPER for Live Use     REAPER for Video Editing/Mangling     REAPER for Ambisonic and 3D positional audio uses     ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum     REAPER for macOS X     REAPER for Linux     REAPER Pre-Release Discussion     REAPER Music/Collaboration Discussion     REAPER lounge NINJAM Discussion     NINJAM User Discussion     NINJAM Developer Discussion Other Software Discussion     WDL users forum     LICEcap Discussion     OSCII-bot forum     Old Cockos Products Forum

All times are GMT -7. The time now is 02:58 AM.

 -- Cockos ---- REAPER 5 ---- Reaper 3 ---- Reaper 2 ---- Reaper 1 Contact Us - Çockos Incorporated - Archive - Top