🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.pascal
1 messages
1 total messages Started by webmajsterek@poc Thu, 01 Sep 2011 17:32
[ Lazarus ] B��d kompilatora ??
#89821
Author: webmajsterek@poc
Date: Thu, 01 Sep 2011 17:32
29 lines
747 bytes
mam taki kod  dla delphi  ( komponent NewAC 2.6 ) --  ale kompiluje go w
Lazarusie ( FPC 2.5.1 ).

i kompilacja zatrzymuje si� na

const
  JumpFarId = $E9;
  JumpPtrId = $25FF;


{......}

        PByte(@{^}System.Move)^ := JumpFarId; <<<<<<<<<<<<<<<<< Lina 1000
        PInteger(Integer(@System.Move)+1)^ :          Integer(SrcProc) - Integer(@System.Move)-5; {Change Destination}

FastMove.pas(1000,16) Error: Variable identifier expected
{^} -- miejsce wskazyywane przzz kompilator

jednak jak zmienie  linie 1000 na

        PByte(@System.Move+(1-1))^ := JumpFarId;

kompilacja przechodzi dalej .  Jak my�licie to b��d kompilatora  �e w orginale
nie przepuszcza ??

--
Wys�ano z serwisu OnetNiusy: http://niusy.onet.pl

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads