Issue 105674 - Global variable of custom type does not retain value across sessions
Summary: Global variable of custom type does not retain value across sessions
Status: ACCEPTED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOO310m9
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-07 10:14 UTC by yajva
Modified: 2017-05-20 10:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description yajva 2009-10-07 10:14:05 UTC
In the following code, the code inits thew variable to arrays of size 11. 
While 'dynArray' of unspecified type retains its value/size on 2nd run, (single
stepping), both 'dynArrayCustom' and 'signleton ' of custom Type don't, even
though both are 'Global'.


Type	PerDocVars1
	elId
	obj
End	Type


Global	dynArray()
Global	dynArrayCustom() as PerDocVars1
Global	signleton as PerDocVars1

Sub	Dummy
redim	dynArray(10)
redim	preserve dynArrayCustom(10)
redim signleton(10)
End	Sub
Comment 1 ab 2009-10-09 14:00:36 UTC
STARTED, OOo 3.x
Comment 2 Marcus 2017-05-20 10:55:19 UTC
Reset assigne to the default "issues@openoffice.apache.org".