Hi,
i use VARGROUP TO ... to save and restore all my global settings.
When I added now one more (now about 360 vars) my prog does not start anymore under Windows 7 (exeption error), with Windows 10 no problem. I removed the last added var and everything is fine again under Win7.
I had this problem with to many vars earlier with DCVARGROUP (there was a limit near 230 vars).
This should only be a note for those who uses VARGROUP or DCVARGROUP with many vars.
VARGROUP TO
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
VARGROUP TO
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: VARGROUP TO
This is from dcdialog.ch
This gets around the array size definitions. You break your define into parts and then create it.
Roger does not appear to have this documented but added it a while back as I came into the same problems as you had. Limitations of the compiler I think.
Cliff
Code: Select all
#xtranslate DCVARDEFINE [TO] <a> <var1> := <val1> [,<varN> := <valN>] => ;
AAdd(<a>,{<(var1)>,<val1>}) [;AAdd(<a>,{<(varN)>,<valN>})]
#xtranslate DCVARCREATE [TO] <o> [NAME <groupname>] [FROM <a>] => ;
[<o> :=] DC_VarGroup(<groupname>,<a>)
Roger does not appear to have this documented but added it a while back as I came into the same problems as you had. Limitations of the compiler I think.
Cliff