Search found 27 matches

by manyone
Nov 15th, '18, 04:57
Forum: Projects
Topic: sudoku solver in GP!
Replies: 2
Views: 1608

sudoku solver in GP!

here's another one of my "useless" (but fun!) projects - a sudoku solver. enter the puzzle board as a long string of nine segments (separated by a space), each segment consisting of 9 digits (0 means blank cell) corresponding to pattern of digits in each row. a couple of puzzles are supplied for cut...
by manyone
Nov 12th, '18, 12:48
Forum: Bugs
Topic: copy costume from <dirlist> doesnt work in exported app
Replies: 2
Views: 1466

Re: copy costume from <dirlist> doesnt work in exported app

worked like a charm! thanks for the quick response! (i just have to remember to use PNG formats)
by manyone
Nov 12th, '18, 11:46
Forum: Bugs
Topic: copy costume from <dirlist> doesnt work in exported app
Replies: 2
Views: 1466

copy costume from <dirlist> doesnt work in exported app

i have a small app that performs some process against a supplied image - during"regular" (interpreted) mode it allows the user to select file from the drop down part of the 'copy costume..' block. when exported to app as is, the executable works but it doesn't allow the selection of an image. it use...
by manyone
Nov 9th, '18, 07:49
Forum: Projects
Topic: img2txt - convert a jpg to ascii
Replies: 0
Views: 2872

img2txt - convert a jpg to ascii

i know this project is kind of "retro" but i have always been fascinated how they did this stuff in the old days. I was excited to find out that i was able to do it in GP. I translated the basic code from a project i saw in github (https://github.com/hit9/img2txt) and recoded it into GP. to use it, ...
by manyone
Oct 23rd, '18, 02:09
Forum: Extending GP
Topic: A way to add 'Infinite' Integers?
Replies: 4
Views: 2631

Re: A way to add 'Infinite' Integers?

it works in its current form but i have to right click on the input boxes so they change from oval (numeric input) to rectangle (string input) before i enter my data. (see image).
however, after i applied your fix, i don't have to think about doing that anymore! thanks!
by manyone
Oct 22nd, '18, 05:00
Forum: Extending GP
Topic: A way to add 'Infinite' Integers?
Replies: 4
Views: 2631

Re: A way to add 'Infinite' Integers?

as an exercise, i translated the code to GP! (https://www.geeksforgeeks.org/multiply- ... s-strings/)
by manyone
Jan 4th, '18, 07:51
Forum: Extending GP
Topic: myZip and myZipWith functions ala haskell
Replies: 8
Views: 4608

Re: myZip and myZipWith functions ala haskell

worked like a charm! thank you! this block extension mechanism is totally awesome! we can share code, programs and whole libraries and it's so easy.
by manyone
Jan 3rd, '18, 06:40
Forum: Extending GP
Topic: myZip and myZipWith functions ala haskell
Replies: 8
Views: 4608

Re: myZip and myZipWith functions ala haskell

i've decided to upload my implementation of the luhn algorithm, if anyone's interested. Comments are welcome. i realize that there are many things about GP i still don't know. For starters, how do i put my often-used functions like myZip, myZipWith, sum, etc into some form of library so i dont have ...
by manyone
Jan 2nd, '18, 05:31
Forum: Bugs
Topic: cannot pass 16-digit number to function as string argument
Replies: 2
Views: 2420

Re: cannot pass 16-digit number to function as string argument

thank you! i wish i had known this sooner!
by manyone
Jan 2nd, '18, 00:58
Forum: Bugs
Topic: cannot pass 16-digit number to function as string argument
Replies: 2
Views: 2420

cannot pass 16-digit number to function as string argument

i was trying to pass a string of 16 digits as a string to a function but the argument is treated as a number , not as a string, so it becomes garbled. arglen_err.jpg converting the number string to a list argument works but i have to change the function logic accordingly, arglen_fix.jpg it also work...