Saveprogini - argument with space

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

johansamuelsson
Posts: 142
Joined: Thu Mar 03, 2011 10:07 pm
Contact:

Saveprogini - argument with space

Postby johansamuelsson » Mon Apr 18, 2016 11:52 pm

Hi

How do I write a argument to saveprogini where "name" has space in it?

For example

Code: Select all

saveprgini(file="c:\temp\myini.ini") hello world 3

or

Code: Select all

saveprgini(file="c:\temp\myini.ini") "hello world" 3

or

Code: Select all

saveprgini(file="c:\temp\myini.ini") [default]"hello world" 3

does not creat a “.ini” file containing:

[default]
hello world=3

Regards Johan

EViews Katerina
Posts: 39
Joined: Thu Jun 25, 2015 9:54 am

Re: Saveprogini - argument with space

Postby EViews Katerina » Tue Apr 19, 2016 10:18 am

It will be fixed in the next patch.
The command should be :saveprogini([file=filename]) [section]"name with space" value


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 19 guests