Results 1 to 3 of 3

Thread: Error:Could not call proc at line 128

  1. #1
    Join Date
    Dec 2011
    Posts
    1,162
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Error:Could not call proc at line 128

    heres line 128

    Simba Code:
    CurFP := WhatPlayer;
      PlayerList.ItemIndex := CurFP; // *
      Edits[0].Text := FP[CurFP].Name;
      Edits[1].Text := FP[CurFP].Pass;
      Edits[2].Text := FP[CurFP].Nick;
      Edits[3].Text := FP[CurFP].Pin;
      ComboBoxes[0].Text := FP[CurFP].Loads;
      ComboBoxes[1].Text := FP[CurFP].Active;
      Buttons[3].Enabled := (GetArrayLength(FP) > 1);//Here is 128
        PlayerList.Clear;

  2. #2
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    It would have been REALLLLLYYYY Helpful if you actually posted the records you made -____-

    Simba Code:
    program new;

    type
      Button = record
        Enabled: Boolean;
      end;

    type
      Players = record
        Name, Pass, Nick, Pin, Loads, Active: string;
      end;

    type
      PEdits = record
        Text: String;
      end;

    type
      CBoxes = record
        Text: string;
      end;


    var
      Buttons: Array of Button;
      FP: Array of Players;
      CurFP: Integer;
      Edits: Array of PEdits;
      ComboBoxes: Array of CBoxes;
    begin
      SetLength(Edits, 4);
      SetLength(ComboBoxes, 2);
      SetLength(Buttons, 3);
      SetLength(FP, 1);

      Edits[0].Text := FP[CurFP].Name;
      Edits[1].Text := FP[CurFP].Pass;
      Edits[2].Text := FP[CurFP].Nick;
      Edits[3].Text := FP[CurFP].Pin;
      ComboBoxes[0].Text := FP[CurFP].Loads;
      ComboBoxes[1].Text := FP[CurFP].Active;
      Buttons[3].Enabled := (GetArrayLength(FP) > 1);//Here is 128
    end.
    I am Ggzz..
    Hackintosher

  3. #3
    Join Date
    Dec 2011
    Posts
    1,162
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry was goign to but then my old method i was using hit me instantly of how to fix and that worked. now all i need to figure out is the stupid chooseoption not working and then v5 of my script will be released.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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