Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7890271
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:18:44+00:00 2026-06-03T06:18:44+00:00

When I try to compile my erlang script I keep getting this error: (master@WN7-18TL6M1.amer.dell.com)15>

  • 0

When I try to compile my erlang script I keep getting this error:

(master@WN7-18TL6M1.amer.dell.com)15> c(distribute).
distribute.erl:55: syntax error before:
distribute.erl:42: function get_completed/3 undefined
error

Here is my source:

get_completed(Current, Index, Count) ->
    if
        length(Current) >= Index ->
            {Count, length(Current)};
        true ->
            if 
                lists:nth(Index, Current) == 'timeout' ->
                    get_completed(Current, Index+1, Count);
                true ->
                    get_completed(Current, Index+1, Count+1)
            end
    end

Line 55 is the last end

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:18:45+00:00Added an answer on June 3, 2026 at 6:18 am

    You need to end the function with a period after the last end.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I try to compile example1.cpp that comes with Armadillo 2.4.2, I keep getting
Got this error whenever I try to compile something: F1027 Unit not found: 'System.pas'
I try to compile a project with msbuild.exe I have this error : vbc
When I try to compile my VSTO Outlook addin, I get this error: Reference
When I try to compile this code: struct BasicVertexProperties { Vect3Df position; }; struct
When I try to compile TOSSIM in tiny OS v-2.0.2 , this is the
When I try to compile Gforth 0.7.0, I get the following error: $ ./configure
When I try to compile this: import java.awt.* ; class obj { public static
When I try to compile this: public static Rand searchCount (int[] x) { int
When i try to compile this: public static int compareCardhl (Card c1, Card c2)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.