Results 1 to 3 of 3

Thread: Simple (I think) error.

  1. #1
    Join Date
    Mar 2007
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Simple (I think) error.

    Hi, I'm just learning how to script, but after copying and pasting a script in one of the Begginer TUT's I get this error:

    Code:
    Failed when compiling
    Line 1: [Error] (1:1): Unable to register function function FindGapsTPA(TPA : TPointArray; MinPixels: Integer): T2DPointArray; in script
    Here is the entire script for those that want to see it:

    Code:
    program ExampleConstants3;
    
    const
    ShallWeWrite=True;//True to Type, False not to Type
    Write='Hi';
    
    begin
    if(ShallWeWrite=True) then
     begin
      Writeln(Write);
     end;
    end.
    Note: I didn't write this, it is copied and pasted directly out of a TUT.

  2. #2
    Join Date
    Jan 2008
    Location
    UK
    Posts
    500
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    There must be more to the script.. scroll up or down.. make sure you delete everything and paste it again.

    or close SCAR and restart it..
    For the Ultimate Monk Fisher: Ultra Monkfish n Bank Click Here


  3. #3
    Join Date
    Mar 2007
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Uhh everytime I close SCAR I get an error, could that be part of it? I'll try re-installing SCAR.

    I may be new, but I know how to copy and paste a whole script :s

    Edit: I tried re-installing and I got this error message in the beggining of the installation:

    Code:
    This application has failed to start because sfc_os.dll was not found.  Re-installing the application may fix this problem.
    This happened the first time aswell, but I thought nothing of it as it continued to install and run anyway.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Simple Error (I think :o)
    By Q Golden Q in forum OSR Help
    Replies: 5
    Last Post: 02-19-2009, 02:58 AM
  2. simple error?
    By strongman in forum OSR Help
    Replies: 2
    Last Post: 09-29-2007, 01:51 AM
  3. ~Another Simple Error~
    By Ephraim2007 in forum OSR Help
    Replies: 10
    Last Post: 05-07-2007, 12:32 AM
  4. Need help, only having one simple error!
    By Kinthral in forum OSR Help
    Replies: 4
    Last Post: 05-03-2007, 03:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •