Great that you have identified the source of the problem. Windows 11 has much to answer for. Bring back Windows 10.
Thanks for the suggested fix. I was only going to use a small no. of variables from the dataset to test out a model spec. that included 2 variables already in .the datafile plus the additional one Gretl objected to.  So I worked around Gretl by setting up a small spreadsheet including the data I wished to add, transferred the 3 variable dataset into an Excel spreadsheet and imported it into Gretl.
Cheers
Brian

On Thu, 14 May 2026 at 13:21, Cottrell, Allin <cottrell@wfu.edu> wrote:
OK, got it. And then you're using the GUI data-editor to input values
for the new variable? I've tried that with your dataset on Linux and
couldn't provoke a problem, but then I tried on Windows 11 and indeed
I could provoke a crash. The GUI data-editor seems to be flaky on
Windows. I'll investigate further.

As a workaround, you could enter values for 2010-2024 like this, via
the console:

# add a empty series
series newvar
# set the sample range
smpl 2010 2024
newvar = {1.2, 2.3,...,15.6}'

The {...} construction gives you a vector in which you can specify15
values, and the trailing apostrophe makes it a column vector, suitable
for inserting as the "newvar" values for the 15 observations in the
sample.

Allin

On Thu, May 14, 2026 at 8:04 AM Brian Revell <bjr.newmail@gmail.com> wrote:
>
> True  Data Define New Variable.
>
> On Thu, 14 May 2026 at 12:57, Cottrell, Allin <cottrell@wfu.edu> wrote:
>>
>> On Thu, May 14, 2026 at 7:17 AM Brian Revell <bjr.newmail@gmail.com> wrote:
>> >
>> > Latest update of Gretl 2026b
>> > Windows 11 O.S.
>> > GUI  using Data Add New Variable
>> > Complete Data series 1994 to 2024 but only entering data from 2010. That failed. Gret closed with no error message or warning. Reset Sample to 2010-2024. Add New Variable still crashed  the restarted and reloaded dataset in Gretl after 2 entries.
>> > Data numeric 2 decimal places.
>> >
>> > Datafile attached.
>>
>> Thanks, Brian. There isn't actually a "Data/Add New Variable" menu
>> item. Do you mean "Data/Add observations" or "Add/Define new
>> variable"?
_______________________________________________
Gretl-users mailing list -- gretl-users@gretlml.univpm.it
To unsubscribe send an email to gretl-users-leave@gretlml.univpm.it
Website: https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/