Smaller wishlist

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Joe Hurst.

Here is a small wishlist for Purebasic and the Purebasic editor (PB it is not bad, but since I am changing from GFABASIC 32 I am missing many features of that dialect in Purebasic; perhaps some are integrated by I did soon not find them?!):

Basic:
- Alternative keywords "Function" and "EndFunction" for procedures with return values,
"Return " instead of ProcedureReturn .

- Inline-Data. This is something like this:
Inline MyData[,Length]
Setting the cursor onto Inline-keyword and pressing a special keystroke, a file-open-dialog should be shown where you can select a file which is loaded into the variable MyData. Now one can access MyData, for example to display grafics or play sounds or registration information, and via Peek/Poke. The data itself is stored in the source-file, but not shown as a part of the source. Because the PB-files are plain ascii, the data could be saved MiMe-coded?

- A "Large"-variable type (64 bit, int) and a "Currency" variable type

Editor:
- Folding of procedures
- Jump-Labels, 10 would be enough (for me), accessable via Shift-Alt-1..Shift-Alt-0 (Shift to set the label, no shift to set the cursor onto it)


Thank you for any attention,
Joe
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Procedure is a global name for returning and not returning functions.

InlineData is like IncludeBinary if I understand well.

About the editor, the source should be released soon, so wait and see . Nevertheless, you can put your own labels in the 'list procedure'
with the follwoing syntax:

;-MyLabel

It will appear in the list..

Fred - AlphaSND
Post Reply