Page 67 of 104

Re: jaPBe Features Request & Wishlist ;-)

Posted: Wed Jul 02, 2008 3:17 pm
by gnozal
Hurga wrote:An easy way to include own snippets. With "project settings" there is "include" where some predefinded and written functions can be easy included. It would be nice if this section can be "user-defined", would say that I can add my own functions.
Hi, could you elaborate a bit ?
What do you mean with user-defined : define a 'user include directory' for each project, so there would be a global directory [%jaPBe%\Include] and a local directory [user specified for each project] ?

Posted: Thu Jul 03, 2008 7:17 am
by Hurga
Ok, lets try (my english is not the best, sorry for that in advance)

Ok, with jaPBe - Projectsettings I can click for examle "Gadget plus". This will inlcude the file "gadget plus.pbi" from the jaPBe- subdir "include".

These functions are written mostly by GPI AFAIK.


Now my idea...
I code and I write a nice Procedure. And I think: "Cool, this one will be useful in other projects for me as well." Then I mark the Proc, press a key oder a select menu-item and get a small dialog, where I can...
... put the code as a new Includefile (and give it a name)
... add it to an existing include file
and press ok.

So I can easy build up my own "procedure-framework" ;-)

I think that will be useful...

Posted: Thu Jul 03, 2008 7:31 am
by gnozal
Hurga wrote:Ok, lets try (my english is not the best, sorry for that in advance)...
Ah, you want something like the PB IDE templates ?
Ok, I will put it on the todo list. Maybe as plugin.
Btw, do you know my PureTemplate plugin ? I use it as template plugin, my source files are all included in zip archives. The plugin can directly use the code archive zip from PureArea. Should I add some features ?

Difficulty Including in-line assembler

Posted: Thu Jul 03, 2008 11:50 am
by RichardL
This is from a long time jaPBe + PureBasic user... but an absolute new boy with assembler on PC. (But I wrote assemblers for other processors and know what they are about)

Simply put, this simple snippet works:

Code: Select all

Declare ToggleWatchDog(TimeOut)

T.l = ToggleWatchDog(6)
Debug T.l

Procedure ToggleWatchDog(TimeOut)
  INC TimeOut
  MOV Eax, TimeOut
  ProcedureReturn 
EndProcedure
BUT... when I copy and paste it into a larger program using the same jaPBe editor it:

(a) Does not highlight the op-codes
(b) Will not compile
(c) Behaves the same when I copy the whole thing into PB's own editor.

Yes... it is declared in the large program.
Yes... ASM support is enabled.

I must be doing something really stupid; please can anyone suggest what?

Best regards
RichardL

Posted: Thu Jul 03, 2008 12:30 pm
by gnozal

Posted: Fri Jul 04, 2008 8:57 am
by Hurga
I didnt work with the PB IDE, so I have no idea of that.

Your Plugin ... It helps keeping the overview of my snippets. A good code viewer :D

The include-thing idea is IMO a bit different.

Template... I can put all code (.. maybe useable sometimes later.. ) in.
Include ... I can create some kind of modules which I can include with just one click.
This is also possible to make it "manually", Make a .pbi file from it an copy it to the jaPBE include-folder. With a bit a "native" support, its just easier...

Posted: Fri Jul 04, 2008 11:26 pm
by Foz
Is there a reason why "EnableExplicit" colours up as a variable?

Posted: Sat Jul 05, 2008 7:45 am
by gnozal
Foz wrote:Is there a reason why "EnableExplicit" colours up as a variable?
'EnableExplicit' is highlighted correctly here (like 'For', 'Next', 'EnableDebugger', etc...), with or without custom keywords enabled.
What jaPBe / PB version are you using ?

Posted: Sat Jul 05, 2008 2:06 pm
by Foz
Version 2.5.4.22

It was a brand new install, so I got the original version, installed that, and then unzipped the one from your site over it.

As I was messing around with the colour schemes, I just noticed that EnableExplicit was coloured as that.

Posted: Sat Jul 05, 2008 9:28 pm
by Foz
No worries, all sorted now. I was having much trouble, so I deleted *everything* in the jaPBe folder and then unzipped the zip from your website. It's fixed all of my issues and the version listed is 3.8.6.710.

I advise that you remove the comment about installing the original version first on a new install. :)

Posted: Mon Jul 07, 2008 7:33 am
by gnozal
Version 2.5.4.22 is for PB3.9x, and EnableExplicit is a PB4.x keyword.

Posted: Mon Jul 07, 2008 8:25 pm
by zxtunes.com
As create new language?

I run "Translator" and select "<New>" translated text, pressed save, but file cant created. I again select "<New>" and my translated text was deleted. Shit. :cry:

What to do?

I have understood.

But "translated.exe" it is realized not so cleverly.

Posted: Sat Jul 12, 2008 6:12 pm
by djk
Thanks for all the updates - haven't used it in quite some time and I was surprised by all the work done. The manual update is reallly appreciated.

Posted: Thu Jul 17, 2008 1:41 pm
by akee
From what I've seen, my take on it is jaPBe and PureFORM should be merged into 1 editor utility rather than separate programs.

gnozal: Thanks for all your contributions.... :)

psdk latest version

Posted: Sat Jul 19, 2008 3:08 pm
by NoahPhense
I'm planning to install the latest psdk .. the one here:
http://www.microsoft.com/downloads/deta ... laylang=en

Is japbe setup yet to use F1 yet?

I used to use the psdk R2 .. worked great. Just wondering if the new psdk
will be ok?

- np