It is currently Tue Jan 19, 2021 7:29 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 1:52 pm 
Offline
User
User

Joined: Thu Jan 02, 2014 5:01 pm
Posts: 60
I note that in 2002 the subject of printing out Purebasic code was brought up and it was suggested that a work-around wascopying the code to Notepad to Notepad++ and printing from there.

I wanted to print out code from the Purebasic IDE today, some 14 years later, and it still wasn't possible. I have never come across this before with any other IDE. Surely, if Purebasic wants to be considered a professional bit of software, something as basic as printing out its code from the IDE should be possible.


Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 2:05 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5756
Location: Berlin - Germany
what is the advantage of printed code?

_________________
PureBasic 5.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 2:08 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 04, 2015 7:10 am
Posts: 1672
even in Microsoft Visual Studio the only thing it lets you print is the single source file you're currently viewing, so even then i'd still prefer to copy and paste it into Notepad so i can adjust the font and size, which Visual Studio won't let you do. So I personally reject your "if PB wants to be considered professional it'd have print to paper capabilities" suggestion; Visual Studio does a lame job of it, and printing to paper really has nothing to do with programming anyway, right? it's just an added bonus if it exists, although a bonus most wouldn't use. Personally i'd prefer Fred spent his valuable limited time working on actual programming functionality, because Notepad and Word give me all the word processing/printing functionality i need, and to hazard a guess I don't think many PB programmers find the need to print hard copies on paper too often, and when they do Notepad/Word pretty much handles most if not all they need anyway? #firstworldproblems :)

ts-soft wrote:
what is the advantage of printed code?
you can start a campfire with it to then make toasted marshmallows, and you can print it in a book if you're an author, but that's me out of ideas :D

_________________
Thankyou to all the coders who generously helped & encouraged me in the nearly 2yrs when i was welcome here,
it was a tremendous privilege. I learned a lot. I wish you and your families all the best and success for the future.


Last edited by Keya on Sat Mar 05, 2016 2:34 pm, edited 14 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 2:11 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Sun Aug 08, 2004 5:21 am
Posts: 3710
Location: Netherlands
ts-soft wrote:
what is the advantage of printed code?

It can be more pleasant to read, you can write notes on the paper, draw lines with arrows, it's an extra backup, you can take it with you to places where you don't have a computer.
But agreed with Keya, copy and paste is not a big problem.

_________________
macOS 10.15 Catalina, Windows 10


Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 3:30 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2011 3:47 am
Posts: 2340
Location: Singapore
RNBW wrote:
...if Purebasic wants to be considered a professional bit of software...

PureBasic doesn't need such considerations; it is undeniably a professional software development tool in an unsurpassed class of its own. :wink:

_________________
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too!


Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 3:32 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5756
Location: Berlin - Germany
Keya wrote:
and you can print it in a book if you're an author, but that's me out of ideas :D

Okay, this is the one and only usage, but to merge it with other text, i have to use copy and paste.

_________________
PureBasic 5.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 4:01 pm 
Offline
User
User

Joined: Thu Jan 02, 2014 5:01 pm
Posts: 60
Well I don't know what has happened to the post I've just made, but it's not showing.

All the procedural languages I have used have allowed printing from the IDE. I don't like Visual Studio. Purebasic it's not a new language. If it was, I could accept it as an excuse. After all these years of existence, I think it's rather a weak excuse.

Perhaps the thing to do is to have a poll to see how important it is. If I'm the odd one out I can accept that.


Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 5:41 pm 
Offline
User
User

Joined: Thu Jan 02, 2014 5:01 pm
Posts: 60
Just to add to what I posted earlier, I would reverse the argument and say that you had might as well just code in Notepad++ and copy into Purebasic to compile the code. I believe some people work this way when they have a favourite editor and just use the compiler (whatever it is) to compile the code. Not the way I like to work.


Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 5:42 pm 
Offline
Addict
Addict

Joined: Fri Nov 09, 2012 11:04 pm
Posts: 1807
Location: Uttoxeter, UK
I don't think PureBasic should allow printing of the code directly from the IDE. It would just waste lots of paper.
Remember the old days where printouts stood a half metre high with perhaps 5% viewed! Did look good, though!?

If I want a small amount of code to read, I simply take a screen-shot to retain the colour and print that onto a A5 sheet.
I don't print code very often, but I still consider I waste paper!

_________________
DE AA EB


Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 6:08 pm 
Offline
Always Here
Always Here

Joined: Fri Oct 23, 2009 2:33 am
Posts: 6271
Location: Wales, UK
Tool App to Print Source Code from PureBasic IDE

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 6:15 pm 
Offline
User
User

Joined: Thu Jan 02, 2014 5:01 pm
Posts: 60
IdeasVacuum wrote:


Now that sounds like a move in the right direction. I'll have a look at that, even though it is only black and white. Unfortunately, the link to a coloured version in a later post appears to be dead.

Do you know if it is for Wisnows and Mac OS? I'm working from tablet at the moment and don't have my computer to check.


Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 6:18 pm 
Offline
User
User

Joined: Thu Jan 02, 2014 5:01 pm
Posts: 60
Wisnows should be Windows (predictive typing - not a clue where Wisnows comes from!)


Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 6:21 pm 
Offline
Always Here
Always Here

Joined: Fri Oct 23, 2009 2:33 am
Posts: 6271
Location: Wales, UK
I think it's likely to be Windows only but I have not used it myself. Not sure but Paul may have added code for colour print-outs, he seemed to like the idea at the time.

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 6:23 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 04, 2015 7:10 am
Posts: 1672
there's also a post halfway down where somebody links to another program that prints code in color :)

_________________
Thankyou to all the coders who generously helped & encouraged me in the nearly 2yrs when i was welcome here,
it was a tremendous privilege. I learned a lot. I wish you and your families all the best and success for the future.


Top
 Profile  
Reply with quote  
 Post subject: Re: Hard copy of Purebasic code
PostPosted: Sat Mar 05, 2016 6:53 pm 
Offline
User
User

Joined: Thu Jan 02, 2014 5:01 pm
Posts: 60
Keya wrote:
there's also a post halfway down where somebody links to another program that prints code in color :)


Unfortunately, that it's the link that now seems to be dead. However, I didn't look at the 3 links at the bottom, on which that code was the inspiration. There is quite a bit of code there that I'll look at when I get back to my computer.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye