Script Library: 1238 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Discussion posts for script parse-ini.r

1
robiandi
3-Feb-2007 15:09
parse-ini-file: it works in the following way:

1.) At the beginning of a new section the last section will be
    appended to the ini-block. But because the last section has no successor
    it will not be appended to it. 
    Therefore the last section of a Windows ini file is lost for the 
    script ( this is a bug).

2.) As explained in the documentation, a Windows ini file has the 
    structure:
    [section-name1]
    keyword1=somevalue

    The following is not allowed:
    [section-name1]
    keyword1 = somevalue
    keyword2= othervalue

    i.e. spaces are not permitted ( not a bug, but not fine )
2
sunanda
4-Feb-2007 14:11
Edited:
sunanda
4-Feb-2007 14:12

Thanks!

[1] Good catch -- now fixed in new version.

[2] Spaces can be more problematic. For example, my live win.ini has this entry....

 [fontsubstitutes]
 Albertus (W1)=Albertus Medium 

....Both the keyword and the value contain spaces.

It may be that the strict spec for an INI entry forbids a trailing space on the keyword, and a leading space on the value.

If so, then this script is being a little more flexible than the strict spec would allow.

3
mikehinson
13-Apr-2009 20:36
Hi,
Newbie here, so sorry if posting in the wrong place.


I am trying to use this script to help me understand the use of parsing 
to extract data from files. If I paste the script into my REBOL/View 
console it pastes in the script ok, but the examples do not work.


This seems very common with a lot of the scripts in this library 
and is a problem I have been fighting with for several days.

This is what I get.
>> ini: parse-ini-file %/c/windows/win.ini
** Script Error: Out of range or past end
** Where: parse-ini-file
** Near: append last current-section parsed-line/1
append
>> 


If anyone can direct me to a better place to ask questions it would 
be appreciated. I have tried to use AltME but I don't know of any 
way to get invited to the REBOL world.

Thanks, Mike
4
mikehinson
13-Apr-2009 21:55
5
sunanda
15-Apr-2009 8:31

Apologies for the bug. sqlab did a quick analysis and showed I'd failed to properly consider comment lines.

He also contributed the fix so (thanks to him again) the version in the Libary is now updated and should work better.

The full discussion of the bug is on the REBOL3 AltME world: here  and here. 

6
jackslesly19
15-Apr-2021 21:42
Thanks for your time so much for your professional and result-oriented guide. Speaking of professionals, check out this professional furnace repair bend oregon  area.. If you need anything just visit their website or contact them.
7
fredfx167
20-Apr-2021 22:48
Edited:
fredfx167
20-Apr-2021 22:49
REBOL

This is good.

Contents:

MakeDoc2 by REBOL- 20-Apr-2021
8
ogilview82
19-May-2021 8:12
REBOL

There are many useful topics that was discussed here and I learned a lot from it!

Contents:

denver window cleaners

MakeDoc2 by REBOL- 19-May-2021
9
sumnerzzupa
24-May-2021 6:00
REBOL

What can I say on this information? This is AWESOME! Thank you for sharing your knowledge.

Contents:

Laguna Niguel Pro Concrete

MakeDoc2 by REBOL- 24-May-2021
10
david
9-Jun-2021 9:14

I can't wait to try this script. Thank you for sharing.

Regards,

David of https://www.tilecleaningmesa.com/

11
tingivi3
11-Jun-2021 1:55
Hi, this is really helpful, thanks for sharing this codings for us. This is what I am been looking for since last week. I am using it on my programs, I searches several websites and forum sites, I found one but not exactly what I am looking for. Here try to download lords mobile app  on pc this is what I have done so far and I have a lot of things to do after this codings See more: https://playpc.io/reviews/offroad-outlaws-gameplay-review/ 
12
kenny34
14-Jul-2021 10:05
REBOL

Very beneficial it seems. This has help me more than you know. Where else can I see more semiconductor?

Contents:

MakeDoc2 by REBOL- 14-Jul-2021
13
katty
2-Aug-2021 20:02
REBOL

Thanks for sharing the topics on this site. very helpful

Contents:

house painters port orange

MakeDoc2 by REBOL- 2-Aug-2021
14
johnsjvi95
10-Sep-2021 6:42
REBOL

I am trying to use this script to help me understand the use of parsing to extract data from files. If I paste the script into my REBOL/View console it pastes in the script ok, but the examples do not work.

Contents:

Tustin Roofing Company

MakeDoc2 by REBOL- 10-Sep-2021
15
sugar
14-Nov-2021 3:05
REBOL

This is one great update from this site. Thanks for posting.

Contents:

Best Caramels online

MakeDoc2 by REBOL- 14-Nov-2021
16
patricia
5-Jan-2022 4:58
REBOL

Untitled

I can find a lot of discussions here, Thank you so much for these wonderful ideas. www.concretecontractorscharleston.com

Contents:

MakeDoc2 by REBOL- 5-Jan-2022
17
alexa13
14-Jan-2022 9:50
REBOL

I've learned a lot from this discussion while working here at handyman sioux city. Thanks for all these documentations, I'll be able to cope up.

Contents:

MakeDoc2 by REBOL- 14-Jan-2022
18
ronlynch07
14-Jan-2022 19:39
REBOL

Good website! I truly love how it is easy on my eyes and the data are well written. click here

Contents:

MakeDoc2 by REBOL- 14-Jan-2022
19
marosol
1-Mar-2022 9:05
Edited:
marosol
1-Mar-2022 9:06
REBOL

pretty cool post. It’s really very nice and useful post. Keep it up.

Contents:

https://cherryhillfoundationrepair.com/waterproofing-cherry-hill-nj.html

MakeDoc2 by REBOL- 1-Mar-2022
20
idasanka
28-Apr-2022 7:22

i really liked your article. Thanks for sharing such a wonderful post. https://deckbuildersboise.com

21
idasanka
28-Apr-2022 7:25

I appreciate your blog post and the content you shared with us is simply wonderful https://carwrapelpaso.com

22
idasanka
28-Apr-2022 7:29

thank you for this! really appreciate you doing this https://carwrapsreno.com

23
idasanka
28-Apr-2022 7:29

i really liked your article. Thanks for sharing such a wonderful post. https://carwrapsalbuquerque.com

24
alfsavage10
4-May-2022 20:26
I think this is one of the best source. Asphaltpavingbirminghamal.com 
25
miyaka22
22-Jul-2022 7:40
REBOL

No matter what the trouble is, we’ll be at the site fast as can be with whatever equipment is necessary.

Contents:

pressure washing

MakeDoc2 by REBOL- 22-Jul-2022
26
danielusa010
2-Oct-2022 22:31
I really like this blog, it shares a lot of information that I want 
to know in many areas. I hope there will be more interesting things 
in the future. https://wordle-2.com https://gettingoverit.co
27
danielusa010
2-Oct-2022 22:33
The information you give is very relevant to the job we are recruiting. 
Please let me know your contact information so that I can discuss 
this further with you. https://wordle-2.com
28
mandiripinja
5-Dec-2022 7:58

pinjaman dana jaminan bpkb mobil cepat hanya 1 hari bisa langsung cair dengan suku bunga rendah serta tanpa survey dan bpkb mobil aman untuk seluruh wilayah indonesia.

https://www.justgiving.com/fundraising/mandiripinjamandana

https://ameblo.jp/mandiripinjamandana/entry-12680765607.html

https://ameblo.jp/mandiripinjamandana/entry-12680767540.html

https://ameblo.jp/mandiripinjamandana/entry-12680769727.html

https://ameblo.jp/mandiripinjamandana/entry-12680770493.html

https://ameblo.jp/mandiripinjamandana/entry-12680771364.html

https://ameblo.jp/mandiripinjamandana/entry-12680785558.html

https://ameblo.jp/mandiripinjamandana/entry-12680786359.html

https://ameblo.jp/mandiripinjamandana/entry-12680787122.html

https://ameblo.jp/mandiripinjamandana/entry-12680787855.html

https://ameblo.jp/mandiripinjamandana/entry-12680788647.html

https://ameblo.jp/mandiripinjamandana/entry-12680789550.html

https://ameblo.jp/mandiripinjamandana/entry-12680790188.html

https://ameblo.jp/mandiripinjamandana/entry-12680790735.html

https://ameblo.jp/mandiripinjamandana/entry-12680791419.html

https://ameblo.jp/mandiripinjamandana/entry-12680792163.html

https://ameblo.jp/mandiripinjamandana/entry-12680792608.html

https://ameblo.jp/mandiripinjamandana/entry-12680793459.html

https://ameblo.jp/mandiripinjamandana/entry-12680793916.html

https://ameblo.jp/mandiripinjamandana/entry-12680794272.html

https://ameblo.jp/mandiripinjamandana/entry-12680794619.html

https://ameblo.jp/mandiripinjamandana/entry-12680794959.html

https://ameblo.jp/mandiripinjamandana/entry-12680795284.html

https://ameblo.jp/mandiripinjamandana/entry-12680795637.html

29
amityusa0106
8-Dec-2022 19:11
I really like this topic. I will find out more information so that I can discuss issues related to this topic with everyone. https://driftboss.net
30
eugeneallard
15-Dec-2022 9:44
REBOL

I thought that adding space is forbidden, thank you for informing us about this bug.

Contents:

foundation repair fort worth

MakeDoc2 by REBOL- 15-Dec-2022
31
angel17
19-Dec-2022 3:30

Nice post! Thanks for sharing. https://goo.gl/maps/8jUgfhKBMvMXQoWj8

32
odonnellmon
21-Dec-2022 23:59
REBOL

We also offer competitive rates on all of our services, so you can be sure that you’re getting the best value for your money.

Contents:

https://bocaratontruckrepair.com

MakeDoc2 by REBOL- 21-Dec-2022
33
madmardigan
13-Mar-2023 7:45
REBOL

When you entrust us with the responsibility of mending your engine, our mechanics will take a holistic approach to study and find out what is causing the problem.

Contents:

Sarasota Onsite Truck Repair

MakeDoc2 by REBOL- 13-Mar-2023
34
crutcherhuyn
13-Mar-2023 17:56
REBOL

We understand that being stranded on the side of the road is never fun.

Contents:

fleet repair

MakeDoc2 by REBOL- 13-Mar-2023
35
ampva301
16-Mar-2023 20:40
REBOL

This is a valuable resource for anyone working with INI files in R.

Contents:

Greeting! | Laredo insulate basement

MakeDoc2 by REBOL- 16-Mar-2023
36
saruonhosari
26-Jan 23:54
REBOL

We prioritize taking the time to fix your vehicle right.

Contents:

https://centennialmobilemechanic.com

MakeDoc2 by REBOL- 26-Jan-2024
37
marosol
23-Feb 9:09
REBOL

Discussion posts for script parse-ini.r

Contents:

https://www.hendersonfoundationrepair.net

MakeDoc2 by REBOL- 23-Feb-2024
Notes