Go to my website http://wap3.com
click on MapBasic & Code [on left menu]
then under MapBasic [WinAPI] > System Function is
Using INI Files
All of these section have the same format in that
near the top you right click the Download link and save a text file of the 
example.
Copy and paste from a web page, especially directly in to MapBasic, has some 
very undiserable results.

Under the downloads section are actual working programs, some with source.


On Wednesday 31 May 2006 00:14, [EMAIL PROTECTED] wrote:
> Hi,
>
>
>
> Does anyone have a nice clear example of how to read a key from an INI
> file?
>
>
>
> I have an application e.g. "d:\apps\myapp.mb" for which I have created
> "d:\apps\myapp.ini" which looks like this:
>
>
>
> [GENERAL]
>
> Workfolder=c:\temp
>
> X=longitude
>
> Y=latitude
>
>
>
> How would I read the value of each of the keys into separate string
> variables in myapp.mb?
>
>
>
> Regards
>
> Michael.
>
>
>
> Michael Zatorsky
> GIS Specialist
>
> Interfaces, Integration & Info Analysis Team
>
> QPRIME Project, Operational Policing Program
>
> Queensland Police Service
>
> e. [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
> p. +61 7 3015 5566
> f. +61 7 3015 5599
>
>
>
> **********************************************************************
> CONFIDENTIALITY:   The information contained in this
> electronic mail message and any electronic files attached
> to it may be confidential information, and may also be the
> subject of legal professional privilege and/or public interest
> immunity.  If you are not the intended recipient you are
> required to delete it.  Any use, disclosure or copying of
> this message and any attachments is unauthorised.  If you
> have received this electronic message in error, please
> inform the sender or contact [EMAIL PROTECTED]
>
> This footnote also confirms that this email message has
> been checked for the presence of computer viruses.
> **********************************************************************

-- 
Trey Pattillo

Failure is not an option....
It comes standard with all Microsoft products.
_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to