Kontakt - Underscore and PGS
-
- KVRist
- Topic Starter
- 160 posts since 29 Apr, 2008
Hi
What does the underscore on _get_engine_par or anywhere else, it's gives priority o something?
and btw, an explanation about PGS would be appreciated.
Cheers
What does the underscore on _get_engine_par or anywhere else, it's gives priority o something?
and btw, an explanation about PGS would be appreciated.
Cheers
-
- KVRian
- 716 posts since 20 Apr, 2017
Prolly just their naming thing for functions that return a value. Only ever see it when you're using it to set a value right?
Code: Select all
var_x := _set_engine_par(args...)
- KVRAF
- 23103 posts since 7 Jan, 2009 from Croatia
Old naming convention that got obsolete. You don't have to use it at all, or rather - you shouldn't use it at all any more (makes the code look a little bit nicer).
-
- KVRist
- Topic Starter
- 160 posts since 29 Apr, 2008
so there will be no problem removing the underscore on _pgs_get_key_val -> pgs_get_key_val, right?
- KVRAF
- 23103 posts since 7 Jan, 2009 from Croatia
Isn't that exactly what I said above?
-
- KVRist
- Topic Starter
- 160 posts since 29 Apr, 2008
Perfect, thank you guys