Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. babakdeghat

    a problem in strawberry Prolog enviroment

    i am using strawberry compiler. i have even tried it on several other PCs , same result.... the error number i receive is error 16 which according to strawberry's official website it is because of a prefix notation which i have none....
  2. babakdeghat

    a problem in strawberry Prolog enviroment

    after downloading strawberry prolog compiler , extract the downloaded file and run prolog.exe , create a new file and paste code , then press F5 to run .
  3. babakdeghat

    a problem in strawberry Prolog enviroment

    and your code is exactly what i mentioned in my last post ???
  4. babakdeghat

    a problem in strawberry Prolog enviroment

    still didn't make any difference : have i done it write ? writeN(N, X) :- forall(between(1, N, _I), write(X)). cross(N) :- hor_line(N), N1 is N - 1, B1 is N1 // 2, Middle is N1 + B1, down(N,’*’,0,N1), down(N,’.’,N1,B1), blanks(1), blanks(Middle), stars(1), nl, up(N,’.’,Middle,B1)...
  5. babakdeghat

    a problem in strawberry Prolog enviroment

    which lines should i replace this with ?
  6. babakdeghat

    a problem in strawberry Prolog enviroment

    what do you think the problem is that it doesn't run ?
  7. babakdeghat

    a problem in strawberry Prolog enviroment

    every time i run the following code : :- use_module(contestlib, [writeN/2]). cross(N) :- hor_line(N), N1 is N - 1, B1 is N1 // 2, Middle is N1 + B1, down(N,’*’,0,N1), down(N,’.’,N1,B1), blanks(1), blanks(Middle), stars(1), nl, up(N,’.’,Middle,B1), up(N,’*’,N1,N1), hor_line(N). hor_line(N) :-...

Part and Inventory Search

Back
Top