Re: [Opensim-dev] Command lines - use of hyphens and verb subject flipping

2013-09-02 Thread Justin Clark-Casey
No, the dispatch is based on the entire command that the module registers (e.g. show object name will only receive commands starting with the tokens show, object and name). On 30/08/13 19:08, Dahlia Trimble wrote: I think the problem with verb-object is that the command handling code is

Re: [Opensim-dev] Command lines - use of hyphens and verb subject flipping

2013-08-30 Thread Ai Austin
At 11:00 30/08/2013, opensim-dev-requ...@lists.berlios.de wrote: I'm still not sure whether verb-object is better (e.g. send appearance) or object-verb (e.g. appearance send). I strongly vote for verb object in such computer script languages. This works well also where there are more than one

Re: [Opensim-dev] Command lines - use of hyphens and verb subject flipping

2013-08-30 Thread R.Gunther
i agree verb-object is a bit confuseing with typeing compared to verb object. delete-region is for me not really logic, delete region is more clear. On 2013-08-30 15:32, Ai Austin wrote: At 11:00 30/08/2013, opensim-dev-requ...@lists.berlios.de wrote: I'm still not sure whether verb-object is

Re: [Opensim-dev] Command lines - use of hyphens and verb subject flipping

2013-08-30 Thread Dahlia Trimble
I think the problem with verb-object is that the command handling code is designed such that multiple modules can add additional commands when they are instantiated, and Opensimulator uses the first word in the command to dispatch the command to whatever module owns it. If it were verb-object then

Re: [Opensim-dev] Command lines - use of hyphens and verb subject flipping

2013-08-29 Thread Justin Clark-Casey
There is indeed a lot of inconsistency. Some of this is my fault. I'm still not sure whether verb-object is better (e.g. send appearance) or object-verb (e.g. appearance send). verb-object has the advantage of being more 'natural' in terms of English were order. It also enables similar

[Opensim-dev] Command lines - use of hyphens and verb subject flipping

2013-08-24 Thread Ai Austin
I note several inconsistencies in the use of - in OpenSim.exe command console command lines. I always seem to get this wrong. and create region [region name] region_file.ini - Create a new region. delete-region name - Delete a region from disk remove-region name - Remove a region from this