Search found 485 matches

by BorisTheOld
Mon Jan 01, 2018 6:28 pm
Forum: Feature Requests and Wishlists
Topic: Make obligatory the '#' postfix for Macro input params
Replies: 28
Views: 10281

Re: Make obligatory the '#' postfix for Macro input params

@Psychophanta

You might save yourself a lot time and trouble if you didn't use single-letter parameters, constants, and variables. Here are a few of our macros that might show you a better way of organizing your code.

Rod


;-----------------------------------------------
;
; Macro 1 : QQ double ...
by BorisTheOld
Mon Dec 11, 2017 1:40 am
Forum: Feature Requests and Wishlists
Topic: Improved line continuation
Replies: 29
Views: 14750

Re: Improved line continuation

Certainly, your parser/translator app can handle this?
Yes, but the code generators still have to be changed to handle PB's non-standard syntax. It would be nice if there were fewer differences. However, PB is a powerful product, so I don't mind the extra work.

We've now created almost 500 macros ...
by BorisTheOld
Sun Dec 10, 2017 8:57 pm
Forum: Feature Requests and Wishlists
Topic: Improved line continuation
Replies: 29
Views: 14750

Re: Improved line continuation

This topic never ends.

The reason is that, with nearly 1,000,000 lines of PowerBasic code to convert, it would be nice to have one less thing to worry about.


Sub subDefineFile Alias "dvs6069DefineFile" _
( ByRef bruHcb As udtIsamHcb _ ' 14869 : isam file handle control block
, ByVal ...
by BorisTheOld
Sun Dec 10, 2017 5:13 pm
Forum: Feature Requests and Wishlists
Topic: Improved line continuation
Replies: 29
Views: 14750

Re: Improved line continuation

It seems to me that the only logical solution to this problem is to add the " _ " as a valid continuation character.

I've been using BASIC since it was invented in the 1960's, and the underscore char has been used for line continuation for as long as I can remember. Other characters like "+" and ...
by BorisTheOld
Sat Aug 16, 2014 10:22 pm
Forum: Announcement
Topic: Removing 'ASCII' switch from PureBasic
Replies: 210
Views: 132752

Re: Removing 'ASCII' switch from PureBasic

After you talked about the difference in encoding, about PokeS() and PeekS(), about .c, .a, .u, .Character, .Ascii and .Unicode, about pseudotypes and mentioned why to use SizeOf() ... is there more ?

Enough for one juicy post maybe even if 75% of that it's already in the manual, another 20% can ...
by BorisTheOld
Sat Aug 16, 2014 10:11 pm
Forum: Coding Questions
Topic: [Solved] Bad parameter type: a string is expected
Replies: 6
Views: 2239

Re: Bad parameter type: a string is expected

IdeasVacuum wrote:

Code: Select all

Static sDefaultSaveAs.s = "xxxxxxxxxxxxxxx"
The above syntax can only be used to assign a constant value at compile time.
by BorisTheOld
Sat Aug 16, 2014 9:19 pm
Forum: Linux
Topic: Can't install libgtk2.0-dev
Replies: 2
Views: 3092

Re: Can't install libgtk2.0-dev

I had a similar situation after I did a clean install of Mint 17, followed immediately by a clean install of PB 5.30b3.

PB complained that two libraries were missing: g++ and libgtk2.0-dev

According to my log book I used Software Manager to install both libraries, and the problem went away.

After ...
by BorisTheOld
Sat Aug 16, 2014 8:36 pm
Forum: Feature Requests and Wishlists
Topic: 5.30 advanced usage UTF-8(UNICODE)
Replies: 25
Views: 10099

Re: 5.30 advanced usage UTF-8(UNICODE)

heartbone wrote:.........braille and sign language versions will be especially challenging.
Actually, with touch screens and hand gestures, we're already well on our way. :)
by BorisTheOld
Wed Aug 13, 2014 10:02 pm
Forum: Coding Questions
Topic: PB5.30 #PB_Container_BorderLess
Replies: 8
Views: 2118

Re: PB5.30 #PB_Container_BorderLess

I want it to simply be a rectangle to arrange other gadgets in, without it being seen as an underlying gadget. It's there for my purposes, not my User's.

Just set the window and the container to the same colour, and use #PB_Container_BorderLess

You'll see that the the container is flat and ...
by BorisTheOld
Mon Aug 11, 2014 1:05 am
Forum: Announcement
Topic: Removing 'ASCII' switch from PureBasic
Replies: 210
Views: 132752

Re: Removing 'ASCII' switch from PureBasic

After reading all the above comments I can't see what all the fuss is about.

In the 50+ years that I've been programming there have always been conflicts between internal and external data representation, and programmers have always had to work around them.

Second generation systems, right up to ...
by BorisTheOld
Mon Aug 04, 2014 6:06 pm
Forum: Off Topic
Topic: Coffee time? This might amuse you
Replies: 14
Views: 6790

Re: Coffee time? This might amuse you

When reading the docs I encountered this nugget on page 6 of the Offcial User Guide.
If you don’t know which edition to use, you should choose the MATE Edition. After reading that linked forum page, I did not see any definite overall favorite recommendation.

Xfce and KDE seem to be used mostly ...
by BorisTheOld
Sun Aug 03, 2014 5:11 pm
Forum: Off Topic
Topic: Coffee time? This might amuse you
Replies: 14
Views: 6790

Re: Coffee time? This might amuse you

@ Boris , I just upgraded from DSL to cable modem for web access.
At http://linuxmint.com/ I am given a selection of Linux Mints.
[Linux Mint 17 Cinnamon] Mint 17 Cinnamon
[Linux Mint 17 MATE] Mint 17 MATE
[Linux Mint 17 KDE] Mint 17 KDE
[Linux Mint 17 Xfce] Mint 17 Xfce

After a year I am ...
by BorisTheOld
Tue Jul 29, 2014 8:33 pm
Forum: Off Topic
Topic: Costco!
Replies: 13
Views: 4722

Re: Costco!

You save the fee really quickly, sometimes on your first purchase. Example: Calvin Klein jeans at The Bay, $120. At Costco, $25.........

You do realize, I hope, that most big name companies, like Calvin Klein, produce cheap quality product lines especially for cut-rate retailers. An item from ...
by BorisTheOld
Tue Jul 29, 2014 8:04 pm
Forum: Off Topic
Topic: what is the most hidden secret in the universe ?
Replies: 10
Views: 4175

Re: what is the most hidden secret in the universe ?

Many years before Douglas Adams created his masterpiece, the number 92 was used at my High School as the generic answer to unfathomable questions about life, the universe, and everything.

That this answer had reduced to 42 by the time of Douglas Adams, is proof positive that the universe is ...
by BorisTheOld
Sat Jul 26, 2014 1:06 am
Forum: General Discussion
Topic: My perspective
Replies: 3
Views: 2321

Re: My perspective

..........Bob Zale, I asked him about the Windows API and he didn't like how my line of questioning went and immediately put me on his list of "people who were not allowed to purchase his product".........

Don't feel bad. I was a PowerBasic user for about 7 years and got a similar response after ...