Page 1 of 1 1
Topic Options
#138800 - 2005-04-27 10:03 PM Insert "@" symbol into ini files
marguz Offline
Fresh Scripter

Registered: 2002-10-29
Posts: 19
Loc: Illinois
Hello all,

I need a way to insert the "@" symbol in to an ini file.
I'm useing WriteProfileString() to do all the work and it's great. It insert
Does anyone know who to do this? I have tried to escape it.... but that is not working

TIA

Top
#138801 - 2005-04-27 10:05 PM Re: Insert "@" symbol into ini files
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Per the docs, just double up the @@ the @ to do this.. The @, $ and other characters are special to KiXtart.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#138802 - 2005-04-27 10:20 PM Re: Insert "@" symbol into ini files
marguz Offline
Fresh Scripter

Registered: 2002-10-29
Posts: 19
Loc: Illinois
1. That was QUICK!
2. I feel like an ass! ... Sorry :-)

Top
#138803 - 2005-04-28 01:51 AM Re: Insert "@" symbol into ini files
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11579
Loc: CA
Quote:

Note: The characters @, %, or $ are normally used to indicate macros, environment strings, or variables. If you want to use these characters in a string, use @@, %%, or $$.





Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 55 anonymous users online.
Newest Members
GBMicros, Jodey, Hiker, GTRoberts, KatieQuinn
17685 Registered Users

Generated in 0.03 seconds in which 0.011 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org