Changeset 402


Ignore:
Timestamp:
May 22, 2016, 2:08:43 PM (9 years ago)
Author:
RBRi
Message:

more path fixes

Location:
trunk/Library
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Library/ACLLibraryTestForm.pas

    r392 r402  
    77  StdCtrls,
    88  ACLFileIOUtility,
    9   ACLFileUtility,
    10   ACLFindFunctions,
    11   ACLProfile,
    12   ACLStringUtility,
    139  ACLUtility,
    1410  PCharList,
     
    3026    FindButton: TButton;
    3127    Button1: TButton;
     28    Button2: TButton;
    3229    Button3: TButton;
    3330    Procedure FindButtonOnClick (Sender: TObject);
    3431    Procedure Button4OnClick (Sender: TObject);
    3532    Procedure Button3OnClick (Sender: TObject);
     33    Procedure Button2OnClick (Sender: TObject);
    3634    Procedure ACLLibraryTestFormOnCreate (Sender: TObject);
    3735    Procedure ACLLibraryTestFormOnDestroy (Sender: TObject);
     
    5149uses
    5250  SysUtils,
    53   ACLString, AStringUtilityUnit,
     51  ACLString,
    5452  RunProgramUnit;
    5553
     
    7775End;
    7876
     77const
     78  test: string = 'This is the string I want to test the CRC with. Ha ha haa';
     79  test2: string = 'HERES ANOTHER #&*#^*& STRING';
     80  test3: string = #234#221#014;
     81
     82Procedure TACLLibraryTestForm.Button2OnClick (Sender: TObject);
     83var
     84  crc: longword;
     85Begin
     86  crc := GetCRC32( Addr( test ), Length( test ) + 1 );
     87  Memo1.Lines.Add( 'Asm Crc =    ' + IntToStr( crc ) );
     88  crc := Pascal_GetCRC32( Addr( test ), Length( test ) + 1 );
     89  Memo1.Lines.Add( 'Pascal Crc = ' + IntToStr( crc ) );
     90
     91  crc := GetCRC32( Addr( test2 ), Length( test2 ) + 1 );
     92  Memo1.Lines.Add( 'Asm Crc =    ' + IntToStr( crc ) );
     93  crc := Pascal_GetCRC32( Addr( test2 ), Length( test2 ) + 1 );
     94  Memo1.Lines.Add( 'Pascal Crc = ' + IntToStr( crc ) );
     95
     96  crc := GetCRC32( Addr( test3 ), Length( test3 ) + 1 );
     97  Memo1.Lines.Add( 'Asm Crc =    ' + IntToStr( crc ) );
     98  crc := Pascal_GetCRC32( Addr( test3 ), Length( test3 ) + 1 );
     99  Memo1.Lines.Add( 'Pascal Crc = ' + IntToStr( crc ) );
     100
     101End;
    79102
    80103type
  • trunk/Library/ACLtest.spr

    r309 r402  
    11[Application Options]
    22
    3 ApplicationIcon=
     3ApplicationIcon=P:\NEWVIEW_DEV\NewView\NewView.ico
    44
    55[Browser Files]
     
    2929File22=INIFILES
    3030File23=ACLUTILITY
    31 File24=ACLSTRINGUTILITY
    32 File25=ACLFILEIOUTILITY
    33 File26=ACLFINDFUNCTIONS
    34 File27=ACLSTRING
    35 File28=ACLFILEUTILITY
    36 File29=ACLPROFILE
    37 File30=PCHARLIST
    38 File31=ACLRESOURCEUTILITY
    39 File32=ACLVERSIONUTILITYUNIT
    40 File33=SEMAPHORES
    41 File34=SHAREDMEMORYUNIT
    42 File35=ASTRINGUTILITYUNIT
     31File24=CHARUTILSUNIT
     32File25=DEBUGUNIT
     33File26=STRINGUTILSUNIT
     34File27=ACLFILEIOUTILITY
     35File28=PCHARLIST
     36File29=ACLRESOURCEUTILITY
     37File30=ACLVERSIONUTILITYUNIT
     38File31=SEMAPHORES
     39File32=SHAREDMEMORYUNIT
     40File33=BSEDEV
     41File34=FILEUTILSUNIT
     42File35=ACLSTRING
    4343File36=RUNPROGRAMUNIT
    4444File37=ACLLIBRARYTESTFORM
     
    4646[Compiler Options]
    4747
    48 CodeGeneration=Assertions
     48CodeGeneration=
    4949Syntax=
    5050Optimize=OptimizeCommonSub,OptimizePeephole
     
    5757MaxWarnings=200
    5858MaxErrors=10
     59
     60[Component Library OS/2]
     61
     62CompLibName=D:\progs\develop\SIBYL_FP3\Bin\CompLib.dll
    5963
    6064[Debugger Options]
     
    6872[Directories]
    6973
    70 LastDir=P:\NEWVIEW_DEV
    71 OutDir=x:\temp\Library
    72 LibDir=x:\temp\Sibyl
    73 LibSrcDir=x:\sibyl\rtl;x:\sibyl\spcc
     74LastDir=P:\NEWVIEW_DEV\BUILD\LIBRARY
     75OutDir=P:\newview_dev\build\library
     76LibDir=P:\newview_dev\build\sibyl\lib
     77LibSrcDir=P:\newview_dev\sibyl\spcc;P:\newview_dev\sibyl\rtl
    7478IncSrcDir=
    75 CompInstallDir=d:\development\sibyl\Compnt
     79CompInstallDir=P:\NEWVIEW_DEV\build\components
    7680
    7781[Find History]
    7882
    79 Find0=crc
     83Find0=TTerminateCheck
     84Find1=TerminateCheck
     85Find2=Check
     86Find3=AddAndResize
     87Find4=GetMaskedFilesForDir
     88Find5=StrRightFrom
    8089
    8190[General]
     
    8493ProjectName=P:\NEWVIEW_DEV\Library\ACLtest.spr
    8594ProjectType=Visual
    86 CompLibName=d:\development\sibyl\Bin\CompLib.dll
    87 Win32CompLibName=d:\development\sibyl\Bin\CompLib.dll
     95CompLibName=D:\progs\develop\SIBYL_FP3\Bin\CompLib.dll
     96Win32CompLibName=D:\progs\develop\SIBYL_FP3\Bin\CompLib.dll
    8897RunParameter=
    8998InActiveLanguages=
     
    93102[Last Open Files]
    94103
    95 File0=.\ACLLibraryTestForm.pas
     104File0=.\ACLUtility.pas
    96105File0.Left=-4
    97 File0.Bottom=-4
    98 File0.Width=1723
    99 File0.Height=609
    100 File0.Column=177
    101 File0.Line=22
     106File0.Bottom=-5
     107File0.Width=1388
     108File0.Height=582
     109File0.Column=14
     110File0.Line=141
     111File1=.\StringUtilsUnit.pas
     112File1.Left=-4
     113File1.Bottom=-5
     114File1.Width=1388
     115File1.Height=582
     116File1.Column=7
     117File1.Line=865
     118File2=.\ACLFileIOUtility.pas
     119File2.Left=-4
     120File2.Bottom=-5
     121File2.Width=1388
     122File2.Height=582
     123File2.Column=1
     124File2.Line=41
     125File3=.\CharUtilsUnit.pas
     126File3.Left=-4
     127File3.Bottom=-5
     128File3.Width=1388
     129File3.Height=582
     130File3.Column=31
     131File3.Line=109
     132File4=.\ACLLibraryTestForm.pas
     133File4.Left=-4
     134File4.Bottom=-5
     135File4.Width=1388
     136File4.Height=582
     137File4.Column=87
     138File4.Line=141
     139File5=.\ACLLibrary.pas
     140File5.Left=-4
     141File5.Bottom=-5
     142File5.Width=1388
     143File5.Height=582
     144File5.Column=38
     145File5.Line=4
     146File6=.\FileUtilsUnit.pas
     147File6.Left=-4
     148File6.Bottom=-5
     149File6.Width=1388
     150File6.Height=582
     151File6.Column=5
     152File6.Line=1083
     153File7=.\RunProgramUnit.pas
     154File7.Left=-4
     155File7.Bottom=-5
     156File7.Width=1388
     157File7.Height=582
     158File7.Column=28
     159File7.Line=216
    102160
    103161[Linker Options]
     
    127185
    128186SCUName=.\ACLLibrary.scu
    129 MainForm=
     187MainForm=ACLLibraryTestForm
    130188
    131189[Win32 Application Options]
     
    135193[Win32 Compiler Options]
    136194
    137 CodeGeneration=Assertions
     195CodeGeneration=
    138196Syntax=
    139197Optimize=OptimizeCommonSub,OptimizePeephole
Note: See TracChangeset for help on using the changeset viewer.