Logic Machine Forum
grp.create - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: grp.create (/showthread.php?tid=4466)



grp.create - Fred - 27.12.2022

According to https://forum.logicmachine.net/showthread.php?tid=4145&pid=26743#pid26743, one can have a "visparams" in grp.create calls (with recent firmware).

According to https://forum.logicmachine.net/showthread.php?tid=4190&pid=27086#pid27086, one can add "virtual = true" in grp.create calls to force a virtual address (when omitting the address to let the system allocate it).

I tried adding "disablelog" and "highpriolog". The second is recorded but the first is not. How do I create objects that are logged ?

Also, the doc says "Creates a new or overwrites an existing object". On overwrite, assuming one can create logged objects (previous question), what happens to the previously logged information, is it kept or erased ?

I understand there are ways to access the DB to change the object once created (see https://forum.logicmachine.net/showthread.php?tid=3840&pid=24826#pid24826), but I was looking for a simper way Smile

Thanks!


PS: it would be nice to have https://openrb.com/docs/lua.htm#grp.create updated with the above. I understand this is work; maybe this could be delegated to selected members of the community?
Edit: Doc is up to date now. Thanks


RE: grp.create - admin - 30.12.2022

Use log = true/false. High priority log is not used anymore. Object logs are not deleted if the log state is changed. Documentation on grp.create will be updated will all possible config fields lated.