Virtual Humans Forum
Virtual Humans Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Virtual Humans
Partner website:
Chatbots.org
 All Forums
 Virtual Humans
 Programming
 Object Pascal, Free Pascal(FPC/FPK), Lazarus IDE
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 7

hologenicman
Moderator



USA
3324 Posts

Posted - Oct 07 2007 :  11:24:47  Show Profile  Visit hologenicman's Homepage
OK, here is a thread dedicated to Pascal and it's flavors.

John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.

hologenicman
Moderator



USA
3324 Posts

Posted - Oct 07 2007 :  11:28:48  Show Profile  Visit hologenicman's Homepage
Transferred posts:
quote:
Found it! *\o/*

http://www.freepascal.org/

Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal compiler. It is available for different processors: Intel x86, Amd64/x86_64, PowerPC, Sparc. The discontinued 1.0 version also supports the Motorola 680x0. The following operating systems are supported: Linux, FreeBSD, Mac OS X/Darwin, Mac OS classic, DOS, Win32, Win64, WinCE, OS/2, Netware (libc and classic) and MorphOS.

John L>
IA|AI

I love the smell of cross-platform compatibillity in the morning...

quote:
The Lazarus project is the IDE for Free Pascal whis named because they resurected a dead/neglected project and mad it fresh and shiny:

http://www.lazarus.freepascal.org/

This could be worth the effort.

John L>
IA|AI

quote:
OK, I've downloaded the Lazarus IDE for FreePascal and installed it. It seems comfortable to work with and will be a lot more familiar once I get some clue about programming Object Pascal.

I have just started reading a tutorial on getting started with Lazarus:

http://wiki.lazarus.freepascal.org/Installing_Lazarus
http://wiki.lazarus.freepascal.org/Lazarus_Tutorial

John L>
IA|AI

quote:
BTW, the FreePascal supports .dll(Windows), .so(Linux), and .dylib(MacOSx)


I think that brings this thread up to date. ( I was getting off-topic with this information over in the AI Application Toolkit Thread. )

John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.
Go to Top of Page

hologenicman
Moderator



USA
3324 Posts

Posted - Oct 07 2007 :  21:43:15  Show Profile  Visit hologenicman's Homepage
Just to cut to the chase and get us on the same page, here is the link to the Windows Binary download.

http://sourceforge.net/project/showfiles.php?group_id=89339&package_id=105599&release_id=496657

This download for Lazarus also INCLUDES the corresponding FreePascal compiler binaries all bundled together nicely in a windows installer that sets everything up nicely for you. I like something that works right out of the box.

I'm looking for one or more or many people interested in taking the "I'm gonna learn ObjectPascal" road along with me.

The Lazarus IDE is a good start since it already knows the language and creates it for you. A good bit of learning can be made by observing the changes in the source code as you make changes in the Lazarus IDE/RAD.

So, is there anyone out there interested in learning a new programming language ; we can suffer through it together...

John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.

Edited by - hologenicman on Oct 07 2007 21:44:57
Go to Top of Page

hologenicman
Moderator



USA
3324 Posts

Posted - Oct 07 2007 :  22:48:07  Show Profile  Visit hologenicman's Homepage
Here is a link to PascalScript3.0 which will have to be useful in some way when creating Object Pascal apps:

http://www.remobjects.com/page.asp?id={9A30A672-62C8-4131-BA89-EEBBE7E302E6}

(You may need to copy and paste the above address into your web browser to get the link to work properly)

It is free and will allow the end-user to modify the application using the scripting language.

John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.

Edited by - hologenicman on Oct 07 2007 22:49:42
Go to Top of Page

hologenicman
Moderator



USA
3324 Posts

Posted - Oct 07 2007 :  23:13:08  Show Profile  Visit hologenicman's Homepage
Here is a resource that has lots of pre-made code available for various application needs.

http://www.planetsourcecode.com/vb/default.asp?lngWId=7#categories

I am not a great programmer by any means, so I find that I can learn by studying these source code examples and trying to figure out how they work and what their syntax is...

John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.
Go to Top of Page

hologenicman
Moderator



USA
3324 Posts

Posted - Oct 07 2007 :  23:24:55  Show Profile  Visit hologenicman's Homepage
This is VERY encouraging. It seems that Lazarus has support for the SQLite database!!

quote:
SQLite needs a single external library and the TSqliteDataset component


http://source.online.free.fr/

John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.
Go to Top of Page

hologenicman
Moderator



USA
3324 Posts

Posted - Oct 08 2007 :  00:44:49  Show Profile  Visit hologenicman's Homepage
This download in particular is called "Practice" and its sole purpose is to show you the code and have you understand the components and syntax of Delphi:

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=1183&lngWId=7

quote:
Help beginners understand the basics of Delphi code by trying out the program then looking at the code to understand what parts of the program do what.



John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.

Edited by - hologenicman on Oct 08 2007 00:45:32
Go to Top of Page

hologenicman
Moderator



USA
3324 Posts

Posted - Oct 08 2007 :  00:55:06  Show Profile  Visit hologenicman's Homepage
Another good tutorial(Program Scope in Delphi):

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=444&lngWId=7
quote:
This is a skeleton of a program, whose sole purpose is to teach you about variable scope and program layout in Delphi. It goes into more detail about what can be included in the Interface section, the Implementation section, etc., and the order it must come in.



John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.

Edited by - hologenicman on Oct 08 2007 01:06:01
Go to Top of Page

hologenicman
Moderator



USA
3324 Posts

Posted - Oct 08 2007 :  01:05:33  Show Profile  Visit hologenicman's Homepage
Threading Tutorial:

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=1011&lngWId=7

quote:
This example shows how to use threads and gives a breif explaination why to use them. threads stops you program hanging/ freezing up



John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.
Go to Top of Page

laackejim
Committed Member



USA
3274 Posts

Posted - Oct 08 2007 :  04:23:44  Show Profile
Good Lord John! You are one busy dude. Okay, if you want a follower I will go back to pascal and come along with you.

There is just one thing to keep in mind about object oriented pascal (or any other OOP). the objects really are seperate. They exist when needed and are not there when not. they can be totally invisible to all other parts of the program and only accept variables and pass variables back when specifically called OR they can be accessible to any or all parts of the program when desired (the two conditions hidden and open are exclusive endpoints)

Your idea of studying the prepared code is a good one -- to learn how it works. Up to a point that is. The best way to program something is the way that is most comfortable to you and your mind. The examples are just that. Study what they do. Then look at the manual for that function. There area always things there that are not obvious from an example. Then take what the example did and code it yourself. Betcha you will find a better way to do it. Better for you. There are thousands of ways to do the same series of activities, and the way that works most reliably will be the path that You are most comfortable with because that will be the one you stumble less over and it is the little stumbles that create the big headaches.

Uncle Jim (e=mc2)
Go to Top of Page

hologenicman
Moderator



USA
3324 Posts

Posted - Oct 08 2007 :  06:15:23  Show Profile  Visit hologenicman's Homepage
quote:
Okay, if you want a follower I will go back to pascal and come along with you.

*\o/* I'M EXCITED!!! *\o/*

Thanks for joining me in this, Jim.

BTW, everything that I have found so far is free for the downloading and use even in commercial applications.

I'm hoping that the tutorial code will at least get me familiar with the suyntax, and then, yes, I agree, rebuild it myself once I learn where to step.

Summary of Research:

Lazarus, RAD IDE download which includes the FreePascal compiler
http://sourceforge.net/project/showfiles.php?group_id=89339&package_id=105599&release_id=496657

Lazarus tutorial which get's you up to speed pretty quickly on the automated RAD
http://wiki.lazarus.freepascal.org/Lazarus_Tutorial

Code and Tutorials for Learning, threading, and Scope available at
http://www.planetsourcecode.com/vb/default.asp?lngWId=7#categories

Threading
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=1011&lngWId=7

Scope
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=444&lngWId=7

Practice
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=1183&lngWId=7

SQLite for Delphi
http://source.online.free.fr/

Scripting utillity for Delphi applications(PascalScript3.0)
http://www.remobjects.com/page.asp?id={9A30A672-62C8-4131-BA89-EEBBE7E302E6}
(You may need to copy and paste the above address into your web browser to get the link to work properly)

Thatshould get us off to a good start.

John L>
IA|AI


HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.
Go to Top of Page

hologenicman
Moderator



USA
3324 Posts

Posted - Oct 08 2007 :  06:28:54  Show Profile  Visit hologenicman's Homepage
BTW, I'm still looking for anyone adventurous enough to join Jim and me in learning Object Pascal.

I figure that it will just benefit us all the more we have joining in on this.

It's FREE, and might just be fun.

John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.

Edited by - hologenicman on Oct 08 2007 06:30:00
Go to Top of Page

laackejim
Committed Member



USA
3274 Posts

Posted - Oct 10 2007 :  04:46:06  Show Profile
My version of Pascal (delphi 5) is up and running after several years. I am ready to go and learn again. Gimme something to do John. We could work parallel and see how we each do it.

Uncle Jim (e=mc2)
Go to Top of Page

hologenicman
Moderator



USA
3324 Posts

Posted - Oct 10 2007 :  05:09:42  Show Profile  Visit hologenicman's Homepage
Jim, I'm sure that you are starting out way ahead of where I am at.

I'm glad to see that you are set and ready to go.

A am using the Lazarus IDE/RAD for my set-up and the first thing that I will be doing tonight will be to download and have a look at the "Practice" code available at:

Practice
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=1183&lngWId=7

I'm hoping that it will give me an overview of the basic code structure...

Have a look at it and let me know what you think.

John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.
Go to Top of Page

hologenicman
Moderator



USA
3324 Posts

Posted - Oct 10 2007 :  10:15:53  Show Profile  Visit hologenicman's Homepage
Well, I got the "Practice" downloaded, and opened it up with Lazarus.

That went very well.

I was able to build the app immediately, but when I ran it, it acted as though it was running although I was unable to locate any evidence of the application running on my desktop.

Right around then I got called int work for the rest of the night so I will continue to study the source code tomorrow in case I can find out what is going on with it.

John L>
IA|AI

HologenicMan
John A. Latimer
http://www.UniversalHologenics.com

"If the Human brain were so simple that we could understand it,
we would be so simple that we couldn't..."
-Emerson M Pugh-

Current project:http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=816&whichpage=1

DISCOVERY: The more I learn, the more I learn how little I know.
GOAL: There's strength in simplicity.
NOTE: Goal not always achieved.
Go to Top of Page

laackejim
Committed Member



USA
3274 Posts

Posted - Oct 11 2007 :  05:50:01  Show Profile
quote:
Originally posted by hologenicman

Well, I got the "Practice" downloaded, and opened it up with Lazarus.

That went very well.

I was able to build the app immediately, but when I ran it, it acted as though it was running although I was unable to locate any evidence of the application running on my desktop.

Right around then I got called int work for the rest of the night so I will continue to study the source code tomorrow in case I can find out what is going on with it.

John L>
IA|AI



I am downloading it now, or more accurately as soon as a download from realsoftware finishes. I have the site up and ready to go.

Uncle Jim (e=mc2)
Go to Top of Page
Page: of 7 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Virtual Humans Forum © V.R.Consulting Go To Top Of Page
This page was generated in 0.25 seconds. Snitz Forums 2000