Board index » delphi » FPK Pascal Help.

FPK Pascal Help.

Please ignore my previous question. It was a stupid one.

I've another one though.

I can't seem to compile lines like

1)  var A:longint absolute $40:$6c;
2)  f: file of usertype;

They compiled perfectly under TP 7.0
Any suggestions on what I should do ?

       /_//_//_/    /_//_//_/      /_//_//_/      /_/
    /_/       /_/  /_/     /_/    /_/     /_/    /_/
   /_/       /_/  /_/       /_/  /_/       /_/  /_/
  /_/       /_/  /_/       /_/  /_/       /_/  /_/
 /_/       /_/  /_/       /_/  /_/       /_/  /_/
/_/       /_/  /_/      /_/   /_/      /_/  
 /_//_//_/    /_//_//_/      /_//_//_/      /_/

                        \\|//
     _____________ooo__(_0_0_)__ooo_____________
 / ^ \                                          \
|  @  |           THE ODD MAILING LIST           |
 \ _ /__________________________________________/  

            " To add spice to your life "

          HOW TO SUBSCRIBE:
          Send mail to <shaw...@pl.jaring.my>
          with the SUBJECT.  SUBSCRIBE ODD

    +-=-=- My Miscellaneous Home Page =-=-=-+
    |  http://www.geocities.com/Area51/9333 |
    +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+

  This list is operated on a when I like it basis.
  It will include humour, proverbs and other neat
  stuff. I will try to keep it on a daily basis.

=-=-=-=-=-=-=-=-= COPYRIGHT NOTICE =-=-=-=-=-=-=-=-=
All materials presented are owned by their authors.
They have been sourced from different areas.

=-=-=-=-=-=-=- FREE GIFT SUBSCRIPTION -=-=-=-=-=-=-=
You can subscribe a friend ( with their permission )
by sending mail with subject   SUBSCRIBE ODD FRIEND
and including their e-mail address in the body.
_                                             _  _
 | Admin,             ooO   Ooo              | || |  
 | Shawn Tan.        (   ) (   )          _ _| || |
 |====                \ (   ) /          | | | __ |
 / ^ \_                \_) (_/           |_|_||__ \
|  @  |\                                  \      \/
 \ _ /                                     \_____/

 

Re:FPK Pascal Help.


In article <1996Nov4.092455.12...@arl.mil>, syber...@geocities.com says...

Quote

>Please ignore my previous question. It was a stupid one.

>I've another one though.

>I can't seem to compile lines like

>1)  var A:longint absolute $40:$6c;

  FPK pascal is a 32 bit compiler
 this means that a pointer is a 4 byte long unsigned integer
and not a Seg:Ofs as in Borland Pascal

  (your address $40:$6c is in the Dos real memory part
I dont know how to access to this memory !)

Quote
>2)  f: file of usertype;

  FPK pascal doesnt yet support typed files

look at:          http://www.brain.uni-freiburg.de/~klaus/fpk-pas
for more info

Pierre Muller
Institut Charles Sadron
6, rue Boussingault
F 67083 STRASBOURG CEDEX
Phone  : (33) 88-41-40-07
Fax    : (33) 88-41-40-99
e-mail : mul...@ics-crm.u-strasbg.fr

Other Threads