User Tag List

Results 1 to 9 of 9

Thread: ini++ subgroup syntax

  1. #1
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ini++ subgroup syntax

    I can't remember the syntax for setting/creating a subgroup within a group. I tried "group"/"subgroup" but it didn't work. What is the correct syntax?

  2. #2


    Join Date
    Oct 2010
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++ subgroup syntax

    whoever made this extension. I am very happy, you did a good job. it is user friendly and most important it works!

  3. #3
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++ subgroup syntax

    Yes it's pretty good indeed. But I still don't know how to create a subgroup using the expression editor. Anyone, please?

  4. #4
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++ subgroup syntax

    Nobody uses subgroups?

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Nov 2009
    Location
    center valley, PA
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++ subgroup syntax

    i have no idea what a subgroup is....i just stick with the normal ini object :/

  6. #6
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++ subgroup syntax

    As the name might imply it is a group within a group. It's weird that there's no reference in the help file about how to create them , because otherwise it talks in great detail about them.

  7. #7
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++ subgroup syntax

    Theres only 1 or 2 options that interact with them that I could spot, so I'm actually kind of curious as to how they work. I'd say the best thing is to experiment

  8. #8
    Clicker Multimedia Fusion 2 Developer
    Jax's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    702
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++ subgroup syntax

    Thank you for your comments, Telephone =]

    I just tried to make up an example, but then I found a bug. Bah! They used to work, I know. The newest version of Ini++ should only be a week or so away, so I'll make sure it works then. Bah! More work! =P

    So the first thing to know about Ini++ sub-groups is that they don't really exist. It's a convenience system for making it look like they exist.

    The first one is reading and writing files. In the files we really want subgroups to be indented. So if you select the non-standard "Load and Save Subgroups" option, you can load a file like...

    Code:
    [one]
    a=1
    	[two]
    	b=2
    	c=3
    		
    	[three]
    	d=4
    		[four]
    		e=5
    f=6
    
    [four]
    g=7
    and then 'two' and 'three' are subgroups of 'one', and 'four' is a subgroup of 'three'. It will save back in this format, too.

    However, when you are actually using the Ini++ it is different. The concept of subgroups doesn't extend to the internals of Ini++. It just automatically renames them. So in memory, we actually have...

    Code:
    [one]
    a=1
    f=6
    [one/two]
    b=2
    c=3	
    [one/three]
    d=4
    [one/three/four]
    e=5
    [four]
    g=7
    (Note: Here is where the bug is. It's not loading it correctly there. I thought it did. Don't worry though, I'll fix it for the next release. It's possible it worked in older versions though.)

    There is also an 'extra' feature for finding subgroups of a group. This is just for convenience, but it is fairly powerful.

    Another area, by the way, where a feature is faked by renaming is 'repeated items'. Ini++ does not support having multiple items with the same name, but it does let you fake it by automatically renaming.

    It may be on interest to people that when I started Ini++ v2.0 (which was given up in the end for Ini++ v1.5), I did make it natively support proper subgroups and repeated items (as well as saving to XML and loading it. Not really 'Ini' anymore is it!). It made it way, way, way harder to use though.

  9. #9
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ini++ subgroup syntax

    I can't say I've managed to create subgroups, so I had to work around it and find another solution to my problem. But thank you very much for your long response Jax. I gather you've made this extention. It's great, I love it too.

Similar Threads

  1. Red Syntax Text
    By olltwit in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 31st May 2010, 07:02 PM
  2. Set key syntax
    By Shmuper in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 7th May 2010, 07:19 AM
  3. syntax list and if then ?
    By RageO in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 4th May 2009, 12:14 AM
  4. Need help with expressions syntax
    By Wingamez in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd April 2009, 07:43 PM
  5. Subgroup Bug
    By Spiriax in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 9th April 2009, 08:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •