Search found 10 matches

by lauriet
Thu Mar 06, 2014 10:47 am
Forum: Programming and Technical Discussions
Topic: A note on strcpy
Replies: 57
Views: 28499

Re: A note on strcpy

Hey Bob

:?: :?: :?:
Didn't Wirths original Pascal compiler (written in Pascal) have pointers and variant records :?:
My copy of it does.
My ISO pascal standard, User Manual and Report (Jensen and Wirth)
defines them.

:?: :?: :?:


Regards
Laurie
by lauriet
Wed Mar 05, 2014 2:39 am
Forum: Programming and Technical Discussions
Topic: A note on strcpy
Replies: 57
Views: 28499

Re: A note on strcpy

Hey Bob,
Did I read a few posts ago that Pascal programmers (and Java) don't have to worry about pointers ?????
Of course you must know Pascal uses pointers, and that type casting can be done.
e.g

TYPE
CastingType = RECORD
CASE BOOLEAN OF
False : (Int : Integer);
True : (Ptr : ^Integer);
END ...
by lauriet
Wed Jan 22, 2014 9:57 pm
Forum: Programming and Technical Discussions
Topic: C programming question
Replies: 18
Views: 6460

Re: C programming question

CREATORS ADMIT Unix, C HOAX

In an announcement that has stunned the computer industry, Ken Thompson,
Dennis Ritchie and Brian Kernighan admitted that the Unix operating
system and C programming language created by them is an elaborate April
Fools prank kept alive for over 20 years. Speaking at ...
by lauriet
Wed Jan 22, 2014 12:40 pm
Forum: Programming and Technical Discussions
Topic: C programming question
Replies: 18
Views: 6460

Re: C programming question

WOW Lucasart, I was thinking about using C instead of Pascal so you might be able to help me with this bit of code:
Im still a bit confused with your assertion that C is "the bees knees" but I guess this code segment demonstrates that clearly.

Regards
Laurie.

#include <stdio.h>
main(t,_,a)char *a ...
by lauriet
Tue Jan 21, 2014 10:14 am
Forum: Programming and Technical Discussions
Topic: C programming question
Replies: 18
Views: 6460

Re: C programming question

Well guys, the answer is staring you right in the face.
Switch to PASCAL. Then you can program in a simple, logical, transparent, self documenting, easy to understand,
pleasure to use language. Then you would not need to ask questions about how it works.

Regards
Laurie
by lauriet
Wed Jan 08, 2014 7:06 am
Forum: Programming and Technical Discussions
Topic: Get the best move from alpha-beta
Replies: 2
Views: 1422

Re: Get the best move from alpha-beta

Or generate the moves at the root of the position and then call search to give a value to each of these moves. Then you know the move that gives the best score.

Regards
Laurie.
by lauriet
Tue Jan 07, 2014 7:17 am
Forum: Programming and Technical Discussions
Topic: Get the best move from alpha-beta
Replies: 2
Views: 1422

Re: Get the best move from alpha-beta

Hi,
You can download my pascal program and see how I do it from ltchess.weebly.com
This is based on the classic triangular array that David Levy describes in "How computers play chess"

Regards
Laurie
by lauriet
Fri Nov 15, 2013 5:23 am
Forum: Programming and Technical Discussions
Topic: New chess program in Pascal
Replies: 1
Views: 1611

Re: New chess program in Pascal

Did I forget to put the link. Doh !!!
ltchess.weebly.com

Did I forget the say it was written in Pascal and the source code is included.

Laurie
by lauriet
Mon Nov 11, 2013 12:22 pm
Forum: Programming and Technical Discussions
Topic: New chess program in Pascal
Replies: 1
Views: 1611

New chess program in Pascal

Hey guys,
Please check out my new 'didactic' chess program written in Pascal.

Regards
Laurie.
by lauriet
Sun Nov 03, 2013 10:48 am
Forum: General Topics
Topic: New open source chess program
Replies: 1
Views: 2623

New open source chess program

Hi everyone,

Please check out my chess program written in Pascal at www.LTchess.weebly.com