QB64 Phoenix Edition
Sam-Clip - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://staging.qb64phoenix.com/forumdisplay.php?fid=3)
+---- Forum: Works in Progress (https://staging.qb64phoenix.com/forumdisplay.php?fid=9)
+---- Thread: Sam-Clip (/showthread.php?tid=1042)

Pages: 1 2 3


RE: Sam-Clip - Pete - 11-19-2022

Oh! Hey guys, I misunderstood. You meant when you copy my program into your IDE. I thought you found a bug in the Clip program.

Glad I checked the post before moving on to other things.

I have an older version of FF, that doesn't work on a lot of new sites, but I like it, so I've kept it. It doesn't have the problem copying and pasting from this site.

When I paste code into this site, I do so straight from the QB64 IDE.

Thanks for the clarification.

Pete


RE: Sam-Clip - Jack - 11-19-2022

Pete, what web browser do you use when posting code?
here's a snippet of what your first post looks like when looking at the web page source
Code: (Select All)
<br />
REDIM Hold AS POINTAPI<br />
TYPE POINTAPI<br />
&nbsp;&nbsp;&nbsp;&nbsp;X_Pos AS LONG<br />
&nbsp;&nbsp;&nbsp;&nbsp;Y_Pos AS LONG<br />
END TYPE<br />


notice all the &nbsp

now here's a snippet from PhilOfPerth's post

Code: (Select All)
<br />
FindUnique<br />
For bletrnum = 1 To blngth '                                                                                              for each letter in base$<br />
    fileletr$ = Mid$(base$, bletrnum, 1)<br />
    po = InStr(unique$, fileletr$)<br />
    If po = 0 Then GoTo skip<br />
    Mid$(unique$, po, 1) = " "<br />
    dictfile$ = "wordlists/" + fileletr$<br />
    Close<br />
    Open dictfile$ For Input As #1<br />
    GetAWord:<br />
    While Not EOF(1)<br />
        Input #1, dictwrd$<br />
        l = Len(dictwrd$): If l &lt; min Or l &gt; max Then GoTo GetAWord<br />
        WORDCHECK<br />
    Wend<br />
    skip:<br />
Next<br />


notice that there are no &nbsp in the indentation


RE: Sam-Clip - PhilOfPerth - 11-19-2022

All of this is above me, but for what it's worth I'm using Chrome, Windows 10, and 64 bit. Huh
Both fully updated.
Incidentally, where do I find Sam Clip?


RE: Sam-Clip - Pete - 11-20-2022

(11-19-2022, 11:49 PM)PhilOfPerth Wrote: All of this is above me, but for what it's worth I'm using Chrome, Windows 10, and 64 bit. Huh
Both fully updated.
Incidentally, where do I find Sam Clip?

The bare bones one is the only one I have listed and it's in post #1...

https://staging.qb64phoenix.com/showthread.php?tid=1042

The code I'm currently working with is about 3 times larger, and works better at copy/paste. I started tonight to re-code a portion for an idea I'm trying out. I hope to have sometime tommorow and next week to get that in place, and then start beta testing a bit before I update the post.

Pete


RE: Sam-Clip - PhilOfPerth - 11-20-2022

Sounds like something I could make use of; I'm always re-inventing my code, and being easily able to recover something I've already used would be great! I'm looking forward to your final post on this.