Search found 7 matches

by mr daniel reed
Fri Feb 23, 2007 5:41 pm
Forum: Feature Requests and Wishlists
Topic: VisualBASIC/PowerBASIC style alias command
Replies: 16
Views: 2659

Not possible to acheive this with macros, as the function name is defined in the assembly, and I can't think of a way to modify the assembly using macros.

Very good point. Alias would be a really great function for extending many
creation packages.
by mr daniel reed
Thu Feb 22, 2007 6:55 pm
Forum: Feature Requests and Wishlists
Topic: VisualBASIC/PowerBASIC style alias command
Replies: 16
Views: 2659

I quoted that from the forum rules.

My attentions are not to create an offernsive thread, or to get my thread deleted. I'm just making a comment about a feature I would like to see
because it would be particularly useful.
by mr daniel reed
Wed Feb 21, 2007 2:03 pm
Forum: Feature Requests and Wishlists
Topic: Aliased types?
Replies: 5
Views: 1550

It'd be great if they would make it a define macro instead.
Like:

#Define HWND .l

This would be a hell of alot cleaner than my previous post.
by mr daniel reed
Wed Feb 21, 2007 3:59 am
Forum: Feature Requests and Wishlists
Topic: Aliased types?
Replies: 5
Views: 1550

Hitorro check this out :)
I found a a way to accomplish this using macros,

Code: Select all

Macro HWND
    l
EndMacro

Global hMyWnd.HWND
I know, it looks horrible, but it works!
by mr daniel reed
Wed Feb 21, 2007 3:54 am
Forum: Feature Requests and Wishlists
Topic: VisualBASIC/PowerBASIC style alias command
Replies: 16
Views: 2659

Just want to add: don't call it lame if a function is not in PureBasic, and you think it should be in! Fred and the team will decide if a feature request is good enough to be added. Don't come over here with a list off functions that MUST be added because this would make PureBasic a killer app in ...
by mr daniel reed
Wed Feb 21, 2007 2:55 am
Forum: Feature Requests and Wishlists
Topic: VisualBASIC/PowerBASIC style alias command
Replies: 16
Views: 2659

thought it was like this:

Code:
ProcedureDLL MyFunc() Alias "_CustomDecoration"
EndProcedure


That's how the alias keyword works in Pascal and it also fits the description given by mr daniel reed. Also it's not possible in PureBasic.

Yes, sorry if I didn't clarify enough. This is exactly ...
by mr daniel reed
Tue Feb 20, 2007 2:21 pm
Forum: Feature Requests and Wishlists
Topic: VisualBASIC/PowerBASIC style alias command
Replies: 16
Views: 2659

VisualBASIC/PowerBASIC style alias command

"Alias" would be a great feature, it's the only feature that is keeping me
from buying the full version of PureBASIC, instead of PowerBASIC.

"Alias" aliases the executable name of a function, particularly useful
for DLLs.

I would like to see this command in upcoming version of PureBASIC.