Search found 27 matches
- Oct 20, 2020 22:42
- Forum: Linux
- Topic: SETENVIRON
- Replies: 16
- Views: 1203
SETENVIRON
in Linux, I can set an environment variable with: SETENVIRON("COUNT=123") print ENVIRON("COUNT") will return 123 as a string so far so good.... Doing this fails: MYCOUNT="123" SETENVIRON("COUNT=" + MYCOUNT) print ENVIRON("COUNT") will return a NULL W...
- Oct 14, 2020 21:39
- Forum: Linux
- Topic: Linux syslog
- Replies: 3
- Views: 953
Re: Linux syslog
Thank you from 7 years ago. This works perfectly.
- Oct 14, 2020 20:28
- Forum: General
- Topic: I hate shell
- Replies: 17
- Views: 5591
Re: I hate shell
And rc being a string, would return the output of the command or the error text if it fails. And how would the user differentiate between those two options? Dim rc as string to get the text output from the command. Return the string or an error... This would be way much better than the current shel...
- Oct 14, 2020 19:30
- Forum: General
- Topic: I hate shell
- Replies: 17
- Views: 5591
Re: I hate shell
Hello to a very old post....
Maybe we just need a new SHELL option. Ideally your should be able to:
dim rc as string
rc = shell("dir /")
And rc being a string, would return the output of the command or the error text if it fails.
Would really be much better!
Maybe we just need a new SHELL option. Ideally your should be able to:
dim rc as string
rc = shell("dir /")
And rc being a string, would return the output of the command or the error text if it fails.
Would really be much better!
- May 24, 2020 1:43
- Forum: Projects
- Topic: nettobac: network connections (cross-platform 32/64 bit)
- Replies: 2
- Views: 1979
Re: nettobac: network connections (cross-platform 32/64 bit)
Hey! It's 2020 and I would like to use this. it fails to compile on Debian Buster...
Re: Error 26
Knatterton wrote:That's common in linux.
Yes! Absolutely. Linux is very good at user permissions. Quite unlike Windows.
- Dec 10, 2017 23:22
- Forum: Linux
- Topic: FIFO pipes for interprocess communication
- Replies: 7
- Views: 1638
Re: FIFO pipes for interprocess communication
Thank you,
I was looking for an IPC solution. This may be what Im looking for.
Jerry
I was looking for an IPC solution. This may be what Im looking for.
Jerry
- Dec 10, 2017 22:44
- Forum: Projects
- Topic: Retail Point of sale Software Fully done in FreeBASIC
- Replies: 2
- Views: 1566
Re: Retail Point of sale Software Fully done in FreeBASIC
Andy!!!
Still waiting...
Still waiting...
- Nov 13, 2016 23:03
- Forum: General
- Topic: Tonight bug catch
- Replies: 48
- Views: 4666
Re: Tonight bug catch
I found a misspelling in net.bi. this: Function NetReciveString( needs to be changed to: Function NetReceiveString( And at the end of the function, this: NetReciveString=l needs to be changed to: NetReceiveString=l I cant believe I found this, after all this time.... Anyway, my freebasic server moni...
- Sep 12, 2016 0:49
- Forum: Projects
- Topic: BINARY - Clock "for coder's only" ;-)
- Replies: 5
- Views: 1705
Re: BINARY - Clock "for coder's only" ;-)
These are so awesome. I'm a nerd and i'm grinning ear-to-ear!
- Sep 12, 2016 0:43
- Forum: Tips and Tricks
- Topic: decQuad lib and example
- Replies: 13
- Views: 1859
Re: decQuad lib and example
Hi srvaldez,
Yes, you are correct. I had no luck ether and have resorted to hacking the data as a string. Thank you, so much, for your help.
Jerry
Yes, you are correct. I had no luck ether and have resorted to hacking the data as a string. Thank you, so much, for your help.
Jerry
- Sep 11, 2016 4:41
- Forum: Libraries
- Topic: Simple enet server/client
- Replies: 8
- Views: 5476
Re: Simple enet server/client
if anyone has a copy of enet_example.rar, please share.
- Sep 11, 2016 3:59
- Forum: Tips and Tricks
- Topic: decQuad lib and example
- Replies: 13
- Views: 1859
Re: decQuad lib and example
Sure. How to move?
- Sep 11, 2016 2:57
- Forum: Tips and Tricks
- Topic: decQuad lib and example
- Replies: 13
- Views: 1859
Re: decQuad lib and example
Since I here... is there an easy way to to separate a big float into a whole number and remainder?
- Sep 11, 2016 2:55
- Forum: Tips and Tricks
- Topic: decQuad lib and example
- Replies: 13
- Views: 1859
Re: decQuad lib and example
srvaldez, Please forgive me. I am advanced in years and between poor eyesight and fat fingers, I can really muck things up. I meant simple "math" examples. Actually, I've had a great deal of success with this on my own. Only one I havent ironed out is how to handle the remainder after divi...