Modula in Version 3.8

Everything else that doesn't fall into one of the other PB categories.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

freak wrote:jaPBe is your problem ...
Of course, but i think, i found a solution:
When you write like this

Code: Select all

a= a % 10
No problem. But when you write like this

Code: Select all

a=a%10
jaPBe will 10 interpreted as binary digit.

It is also the best solution for a good readable source code....


btw.: I prefer the "mod" instead of "%", because i know it from other languages and it will not include a second double meaning...
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

@GPI

With all respect GPI, I think % is more widely known as the "mod" operator. Perhaps not among only BASIC type languages but I still think that the only thing BASIC about PB is it's name :-)

Love your editor BTW - on with the show!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Post Reply