![]() |
|
|
#1970 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
I realized that and corrected it I now get:
Code:
Reading GPRC: /cygdrive/c/Program Files/PARI/.gprc ...Done.
GP/PARI CALCULATOR Version 2.4.2 (development CHANGES-1.1971)
i686 running cygwin (ix86/GMP-4.2.1 kernel) 32-bit version
compiled: Dec 23 2007, gcc-3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
(readline v5.2 enabled, extended help enabled)
Copyright (C) 2000-2006 The PARI Group
PARI/GP is free software, covered by the GNU General Public License, and comes WITHOUT ANY WARRANTY WHATSOEVER.
Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.
parisize = 4000000, primelimit = 500000
*** error opening input file: codes.gp
^--------
... skipping file 'codes.gp'
(15:37)
Last fiddled with by science_man_88 on 2010-12-03 at 19:52 |
|
|
|
|
|
#1971 |
|
"Forget I exist"
Jul 2009
Dumbassville
203008 Posts |
it's also why the pipes don't work lol.
|
|
|
|
|
|
#1972 |
|
"Forget I exist"
Jul 2009
Dumbassville
20C016 Posts |
Code:
(15:57)>?0 FaR Pascals_triangle_puzzle RLE guess_the_number guessnumber2 lucaslehmer palindrome pascals_triangle repeat reverse sumdigits Code:
guessnumber2(b)=my(c=0,d=b,a=0);for(x=1,b,for(y=1,b,if(a<c||a==c||a==d||a>d,a=random(b),break()));print("I guess "a" am I h,l,or e ?");g=input();if(g==h,d=a,if(g==l,c=a,if(g==e,break()))))
Last fiddled with by science_man_88 on 2010-12-03 at 20:10 |
|
|
|
|
|
#1973 |
|
Aug 2006
3·1,993 Posts |
The pipes don't work because you're on Windows. The file won't be read if it's in a different directory from where you start GP unless you give an absolute location, e.g.,
read "E:/codes.gp" or read "C:\Program Files\PARI\codes.gp" I don't remember how the slashes need to be for this to work; one of /, \, or \\. Try them until one works.
|
|
|
|
|
|
#1974 | |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
Quote:
|
|
|
|
|
|
|
#1975 | |
|
Aug 2006
3·1,993 Posts |
Quote:
|
|
|
|
|
|
|
#1976 |
|
Aug 2006
3×1,993 Posts |
|
|
|
|
|
|
#1977 |
|
Aug 2006
10111010110112 Posts |
You might also consider creating a user page, maybe something like
Code:
{{mylangbegin}}
{{mylang|PARI/GP|intermediate}}
{{mylang|x86 assembly|beginner}}
{{mylangend}}
I submitted a solution for these tasks:
* [[Guess the number/With feedback]]
* [[Pascal's triangle]]
* [[Pascal's triangle/Puzzle]]
* [[Rate counter]]
* [[Reverse a string]]
* [[Run-length encoding]]
|
|
|
|
|
|
#1978 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Code:
(16:18)>?? *** [pipe:] 'C:\Program Files\PARI\doc\users.pdf -fromgp '@1'' failed. (16:20)>?? *** [pipe:] 'C:Program FilesPARIdocusers.pdf -fromgp '@1'' failed. (16:21)>?? *** [pipe:] 'C:Program Files/PARI/doc/users.pdf -fromgp '@1'' failed. (16:22)>?? *** [pipe:] 'C:\Program Files/PARI/doc/users.pdf -fromgp '@1'' failed. (16:25)>?? *** [pipe:] 'C:/Program Files/PARI/doc/users.pdf -fromgp '@1'' failed. (16:27)>?? *** [pipe:] 'C:/Program Files\PARI\doc\users.pdf -fromgp '@1'' failed. |
|
|
|
|
|
#1979 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
and I never completed the RLE lol. I've also tried css javascript and html and c and php but only the first 4 ever made it and now I forgot most of them I should start using them lol. also ASM beginner is a understatement lol, I can't get anything I've learned from books to work but if I ever do maybe it will be worth it. Last fiddled with by science_man_88 on 2010-12-03 at 20:59 |
|
|
|
|
|
|
#1980 | |
|
Aug 2006
135338 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why do I sometimes see all the <> formatting commands when I quote or edit? | cheesehead | Forum Feedback | 3 | 2013-05-25 12:56 |
| Passing commands to PARI on Windows | James Heinrich | Software | 2 | 2012-05-13 19:19 |
| Ubiquity commands | Mini-Geek | Aliquot Sequences | 1 | 2009-09-22 19:33 |
| 64-bit Pari? | CRGreathouse | Software | 2 | 2009-03-13 04:22 |
| Are these commands correct? | jasong | Linux | 2 | 2007-10-18 23:40 |