Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
[SOLVED] Directive to new Unit Question.
Downloads
Daily Snapshots
FAQ
Wiki
Bugtracker
IRC channel
Developer Blog
Follow us on Twitter
Mailing List
Free pascal
Other languages
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Lazarus, the complete guide
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Directive to new Unit Question. (Read 1542 times)
garlar27
Sr. Member
Posts: 297
[SOLVED] Directive to new Unit Question.
«
on:
July 05, 2011, 05:18:34 pm »
I've opened an old project and clicked on new form button, and appeared a dialog which says:
"Directive to new Unit"
"The project compiler options and the directives in the main source differ. For the new unit the mode and string type of the project options are used:"
A combobox with "Sintax mode": [FPC | ObjFPC | Delphi | TP | MacPas]
And a Checkbox: "Use Ansistrings"
1) Which option should I use? FPC or ObjFPC?
2) When should I use Ansistring?
3) where Can I find info about this?
Thanks in advance.
«
Last Edit: July 06, 2011, 01:44:28 pm by garlar27
»
Logged
Bart
Hero Member
Posts: 791
Re: Directive to new Unit Question.
«
Reply #1 on:
July 05, 2011, 11:37:56 pm »
Lazarus uses Mode ObjFpc and AnsiString by default.
I'ld stick by that.
If your old project uses Delphi syntax, and you are use to it use Mode Delphi instead.
See
http://www.freepascal.org/docs-html/user/userse33.html#x121-1280007.1
for a detailed explanation of the syntax modes FreePascal uses.
Bart
Logged
garlar27
Sr. Member
Posts: 297
Re: Directive to new Unit Question.
«
Reply #2 on:
July 06, 2011, 01:44:06 pm »
Thank you Bart!
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
[SOLVED] Directive to new Unit Question.
Recent
Q about capabilities of t...
by
mdlueck
[
Today
at 06:30:59 pm]
Cross Compile
by
Leledumbo
[
Today
at 05:23:05 pm]
TaChart ternary plot func...
by
wp
[
Today
at 05:08:44 pm]
Stable database?
by
BigChimp
[
Today
at 03:27:28 pm]
Lazarus 0.9.30.4 released
by
felipemdc
[
Today
at 03:08:45 pm]
Colored cells of a string...
by
paskal
[
Today
at 02:34:31 pm]
writeln fails to output t...
by
jack616
[
Today
at 02:18:10 pm]
[SOLVED] How to install l...
by
HexNihilo
[
Today
at 01:24:54 pm]
libUSB under win32
by
helloa
[
Today
at 01:20:01 pm]
[SOLVED] How to make a pu...
by
paskal
[
Today
at 01:14:38 pm]