Kara-Moon Forum
August 24, 2019, 11:36:06 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You can go back to the main site here: Kara-Moon site
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: DATAPLUGS  (Read 110 times)
sciurius
Full Member
***
Posts: 144



« on: July 19, 2019, 08:41:07 AM »

Macro variable $_DataPlugs is not documented.
This is not so bad Smiley since I'd strongly suggest to rename it to $_Data_Plugins .
Also, why not add $_Track_Plugins as well?

Patch attached.

* macro_plugins.patch.txt (1.54 KB - downloaded 9 times.)
Logged
bvdp
Hero Member
*****
Posts: 998


WWW
« Reply #1 on: July 21, 2019, 06:25:56 PM »

Okay, I've just applied the fixes. However, I think I'll stick with $_DataPlugins (no hyphen) since the '_' normally applies to track names. $_Track_plugins have been there all along, but only as a track name function ... since it's a track thing, should we just leave it as that? Seems to be a rabbit hole if we permit $_Bass_Plugins and $_TrackPlugins to refer to the same thing? Or are you suggesting something else?Huh

So, we should end up with:

   $_Plugins -- for all simple plugs
   $_DataPlugins -- for the data plugs
   $_TrackName_Plugins -- for the track stuff

Make sense?               
Logged

My online life: http://www.mellowood.ca
sciurius
Full Member
***
Posts: 144



« Reply #2 on: July 21, 2019, 07:08:43 PM »

It just feels a bit contrived having to select an arbitrary (but existing!) track name just to list the track plugins...

So, alternatively:

   $_Plugins -- for all simple plugs
   $_DataPlugins -- for the data plugs
   $_TrackPlugins -- for the track plugs
   $_TrackName_Plugins -- legacy, same as $_TrackPlugins

and then silently remove $_TrackName_Plugins from the docs Smiley.
Logged
bvdp
Hero Member
*****
Posts: 998


WWW
« Reply #3 on: July 21, 2019, 11:16:34 PM »


Committed.

I have $_Plugins, $_TrackPlugins, $_DataPlugins and $_Trackname_Plugins. The last is mainly for use in a begin/end block where one might have some kind of a call ... no idea how that would work Smiley But, it's all in the doc, so what can go wrong.
Logged

My online life: http://www.mellowood.ca
sciurius
Full Member
***
Posts: 144



« Reply #4 on: July 22, 2019, 06:20:26 AM »

Thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.043 seconds with 19 queries.