Search found 199 matches

by greenink
Dec 22, 2016 12:53
Forum: Community Discussion
Topic: 1024 core CPU
Replies: 2
Views: 606

1024 core CPU

It'll be interesting to see how many GFlops this chip offers:
https://www.parallella.org/2016/10/05/epiphany-v-a-1024-core-64-bit-risc-processor/
by greenink
Dec 20, 2016 14:13
Forum: Linux
Topic: Can link to libncurses rather than libtinfo.so.5
Replies: 5
Views: 1518

Re: Can link to libncurses rather than libtinfo.so.5

I think 1 dependency is okay (and only on some versions of Linux), other than that FB is very self contained.
by greenink
Dec 20, 2016 13:43
Forum: Community Discussion
Topic: Java & FreeBasic
Replies: 6
Views: 4509

Re: Java & FreeBasic

I was going to do some code in Java too. It is actually quite suitable for low level programming as it is better defined than C and gives you easy access to the bit fields of floating point values etc. When I read the news on theregister.com I kinda changed my mind. There is a lack of low level prog...
by greenink
Dec 19, 2016 16:01
Forum: Documentation
Topic: exit sub ,exit function
Replies: 9
Views: 1988

Re: exit sub ,exit function

Better safe than sorry in such a case. The compiler will complain about no return value being set in simpler cases where it can check.
I already learnt my lesson about assuming when I was using the var keyword too much.
by greenink
Dec 19, 2016 13:07
Forum: Documentation
Topic: exit sub ,exit function
Replies: 9
Views: 1988

Re: exit sub ,exit function

Code: Select all

function orange(x as single) as single
   if(x=0) then
      function=1
   else
      exit function
   end if
end function
print orange(1)
getkey


Returns zero, so it makes an effort to supply a default value, perhaps?
by greenink
Dec 19, 2016 12:58
Forum: Documentation
Topic: exit sub ,exit function
Replies: 9
Views: 1988

Re: exit sub ,exit function

There nothing to see in a crystal ball after the 20th anyway. It goes blank.
by greenink
Dec 19, 2016 4:02
Forum: Documentation
Topic: exit sub ,exit function
Replies: 9
Views: 1988

exit sub ,exit function

Exit sub is probably the same as return. Exit function leaves the function with the result values undefined? Or something else.
by greenink
Dec 19, 2016 0:50
Forum: Community Discussion
Topic: FreeBASIC syntax challenge games
Replies: 415
Views: 24843

Re: FreeBASIC syntax challenge games

The problem is most people who use Basic are interested in "plain facts" programming, not tricks.
by greenink
Dec 18, 2016 12:29
Forum: Linux
Topic: Can link to libncurses rather than libtinfo.so.5
Replies: 5
Views: 1518

Re: Can link to libncurses rather than libtinfo.so.5

I use derivatives of puppy linux, Slacko and Fatdog. They have libncurses but not libtinfo. I was thinking of going back to java but oracle is starting to do money gathering legal exploits. I'll look around and see what my options are, but I guess FB again with a change of style using pointers and n...
by greenink
Dec 17, 2016 8:50
Forum: Linux
Topic: Can link to libncurses rather than libtinfo.so.5
Replies: 5
Views: 1518

Can link to libncurses rather than libtinfo.so.5

I found this information that saved me from having to download libtinfo.so.5 on the internet to set up FB. "Some time ago ncurses was split in two libraries, libtinfo.so. and libncurses.so. some software will only try to use libtinfo.so. without trying libncurses.so. Symlinking libtinfo.so. to ...
by greenink
Nov 29, 2016 6:22
Forum: Community Discussion
Topic: Another robot idea
Replies: 3
Views: 800

Re: Another robot idea

They always seem to be able to devise some new ingenious form of locomotion. I am often surprised. AI is also changing very fast. It could be that deep neural networks will be washed up fairly soon. I think reservoir neural nets that a few years ago didn't look that interesting might replace them. T...
by greenink
Nov 26, 2016 13:45
Forum: Community Discussion
Topic: Another robot idea
Replies: 3
Views: 800

Another robot idea

by greenink
Nov 16, 2016 13:18
Forum: Community Discussion
Topic: [offtopic]How can you be proud in future of your country with clinton or trump ?
Replies: 28
Views: 3138

Re: [offtopic]How can you be proud in future of your country with clinton or trump ?

Anyway, apart from a few simpletons, Americans would know what they voted for at least at some level of cognition. A 'Titanic Success.'
Except the captain and his mates will be first off the ship into the life-rafts.

Go to advanced search