
Search found 34 matches
- Mon Jan 25, 2016 12:41 pm
- Forum: Off Topic
- Topic: Blade Runner
- Replies: 1
- Views: 1634
Re: Blade Runner

- Mon Mar 09, 2015 8:05 pm
- Forum: Coding Questions
- Topic: LUA in PureBasic
- Replies: 8
- Views: 6246
Re: LUA in PureBasic
Thanks jack, that looks useful, what's really bugging me is that I swear I had it working before although looking at the file dates that was early 2013 so I guess a lot has changed since then :)
I've become interested by lua again having worked on some embedded wifi stuff lately with nodemcu that ...
I've become interested by lua again having worked on some embedded wifi stuff lately with nodemcu that ...
- Mon Mar 09, 2015 4:37 pm
- Forum: Coding Questions
- Topic: LUA in PureBasic
- Replies: 8
- Views: 6246
Re: LUA in PureBasic
Well, because I'm like a dog with a stick I tried a bit longer with this as it would be useful to get it working on windows.
With the stripped down code below I got closer but still no cigar, I suspect someone with a better knowledge of windows than I could get this going.
I tried with various ...
With the stripped down code below I got closer but still no cigar, I suspect someone with a better knowledge of windows than I could get this going.
I tried with various ...
- Sat Mar 07, 2015 3:54 pm
- Forum: Coding Questions
- Topic: LUA in PureBasic
- Replies: 8
- Views: 6246
Re: LUA in PureBasic
Hello Guidebot,
That's not dumb at all, I tried myself on windows just now and the code as was didn't work (see changes above), for my vista windows box newer binaries were required and also the Visual C++ re-distributable packages for Visual Studio 2013. Even then I couldn't get the lua_tonumberx ...
That's not dumb at all, I tried myself on windows just now and the code as was didn't work (see changes above), for my vista windows box newer binaries were required and also the Visual C++ re-distributable packages for Visual Studio 2013. Even then I couldn't get the lua_tonumberx ...
- Sun Mar 01, 2015 9:49 pm
- Forum: Coding Questions
- Topic: LUA in PureBasic
- Replies: 8
- Views: 6246
Re: LUA in PureBasic
Hello Xanos,
Here is some tinkering I did a year or so ago which may help you, you don't necessarily need an include - you can just import the functions you want directly from the library. I made some (scant!) notes and the links are worth a read to.
lua_test.pb:
7th March 2015 EDITED the first ...
Here is some tinkering I did a year or so ago which may help you, you don't necessarily need an include - you can just import the functions you want directly from the library. I made some (scant!) notes and the links are worth a read to.
lua_test.pb:
7th March 2015 EDITED the first ...
- Fri Nov 28, 2014 3:26 pm
- Forum: Coding Questions
- Topic: Arduino via USB/ serial port?
- Replies: 2
- Views: 2352
Re: Arduino via USB/ serial port?
Have a look at Joakim Christiansen's post at:
http://www.purebasic.fr/english/viewtop ... it=arduino
it works very well
http://www.purebasic.fr/english/viewtop ... it=arduino
it works very well

- Thu Sep 05, 2013 9:33 am
- Forum: General Discussion
- Topic: What happened to rwrappers repository by progi?
- Replies: 2
- Views: 1858
Re: What happened to rwrappers repository by progi?
I'm not sure what happened to it, maybe father time
I have uploaded a 7zip archive I had to my Dropbox account.
EDIT: There we go, Progi1984 knew where it was
archive removed.

I have uploaded a 7zip archive I had to my Dropbox account.
EDIT: There we go, Progi1984 knew where it was

- Sat Apr 27, 2013 2:46 pm
- Forum: Linux
- Topic: Alternative for ReceiveHTTPFile on Linux?
- Replies: 3
- Views: 2758
Re: Alternative for ReceiveHTTPFile on Linux?
libcurl can also be a good way to go, not least because it will do https and all kinds of other handy url related stuff, you almost certainly have it installed already.
#CURLOPT_URL = 10002
#CURLOPT_WRITEFUNCTION = 20011
CompilerSelect #PB_Compiler_OS
CompilerCase #PB_OS_Linux
;-- More than ...
#CURLOPT_URL = 10002
#CURLOPT_WRITEFUNCTION = 20011
CompilerSelect #PB_Compiler_OS
CompilerCase #PB_OS_Linux
;-- More than ...
- Wed Apr 17, 2013 10:02 pm
- Forum: Tricks 'n' Tips
- Topic: Canvas flocking cellular automaton
- Replies: 6
- Views: 2110
Canvas flocking cellular automaton
This is code for a flocking cellular automaton ported to PB from html5 canvas/javascript code posted on rectangleworld:
http://rectangleworld.com/blog/archives/587
Lot's of other cool stuff there :wink:
It is based on bird flocking behaviour and cellular automata and particularly boid's algorithm ...
http://rectangleworld.com/blog/archives/587
Lot's of other cool stuff there :wink:
It is based on bird flocking behaviour and cellular automata and particularly boid's algorithm ...
- Thu Jan 31, 2013 5:58 pm
- Forum: 3D Programming
- Topic: Plotting in 3D _ Biomorphs
- Replies: 11
- Views: 8667
Re: Plotting in 3D _ Biomorphs
That really is awesome and shows some useful techniques
, thanks for sharing and for the link to Mad Teddy's site too!



- Thu Jun 28, 2012 8:03 pm
- Forum: Coding Questions
- Topic: Webgadget headers
- Replies: 1
- Views: 773
Re: Webgadget headers
Wireshark is the way to go, just use the simple capture all network card activity option and then apply the http filter to the results - it works well 

- Sun Jun 24, 2012 8:31 pm
- Forum: Coding Questions
- Topic: PB + CURL Sending a file to the server
- Replies: 2
- Views: 1528
Re: PB + CURL Sending a file to the server
Use the search Luke!!
Recent post with a libcurl wrapper
Progi1984's original curl wrapper:
http://goo.gl/zdXmi
Or do it without the extra bulk of curl
:
Drag and drop Image uploader
Look particularly at HttpPostMultipart.
Recent post with a libcurl wrapper
Progi1984's original curl wrapper:
http://goo.gl/zdXmi
Or do it without the extra bulk of curl

Drag and drop Image uploader
Look particularly at HttpPostMultipart.
- Tue Jun 12, 2012 12:56 pm
- Forum: Tricks 'n' Tips
- Topic: Yet another Regular Expression tester [adapted for Unicode]
- Replies: 10
- Views: 5575
Re: Yet another Regular Expression tester [adapted for Unico
Altered to support unicode and removed the second superfluous scintilla gadget, code above edited accordingly.
- Sat Jun 09, 2012 3:59 pm
- Forum: Tricks 'n' Tips
- Topic: Yet another Regular Expression tester [adapted for Unicode]
- Replies: 10
- Views: 5575
Re: Yet another Regular Expression tester ... sorry(!)
I just copied and pasted it into PB on XP and on a Vista virtual machine and it seemed to work fine on both, so I don't know what to suggest.
Suggest to disable UNICODE. ;)
Requires some AllocateMemory( TextLength * SizeOf(Character) ) and more to work correctly with Unicode.
Thanks Danilo ...
Suggest to disable UNICODE. ;)
Requires some AllocateMemory( TextLength * SizeOf(Character) ) and more to work correctly with Unicode.
Thanks Danilo ...
- Sat Jun 09, 2012 2:11 pm
- Forum: Tricks 'n' Tips
- Topic: Yet another Regular Expression tester [adapted for Unicode]
- Replies: 10
- Views: 5575
Re: Yet another Regular Expression tester ... sorry(!)
whoops.....invalid memory access on start up: RegExTesterProcs.pb Procedure GetAllText(): *TextBuffer=AllocateMemory(TextLength + 1) :|
:?
Strange, as that stands surely it's just a memory allocation so in itself can't be causing the problem, are you using the code above unedited?
(shuffles ...
:?
Strange, as that stands surely it's just a memory allocation so in itself can't be causing the problem, are you using the code above unedited?
(shuffles ...