[PB4B2] Locate() and ExamineEnvironmentVariables()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
akj
Enthusiast
Enthusiast
Posts: 668
Joined: Mon Jun 09, 2003 10:08 pm
Location: Nottingham

[PB4B2] Locate() and ExamineEnvironmentVariables()

Post by akj »

1. Please retain Locate() as it is useful with API functions. For example:

Code: Select all

Locate(buttonTxtX,buttonTxtY)
SetTextAlign_(buttonImageDC,buttonTxtAlign|#TA_UPDATECP)
2. Please change ExamineEnvironmentVariables() so that it returns a count of the number of currently defined environmental variables.
Anthony Jordan
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

1) why not use MoveToEx_() when using API ?

2) No, as it would need a preprocessing, which wouldn't fit in.
akj
Enthusiast
Enthusiast
Posts: 668
Joined: Mon Jun 09, 2003 10:08 pm
Location: Nottingham

Post by akj »

Thanks for your reply Fred.

1. Yes, I will adopt your suggestion to use MoveToEx_()

2. I thought you would say that!
Anthony Jordan
Post Reply