Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Num3
PureBasic Expert
Posts: 2812 Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:
Post
by Num3 » Sun Feb 29, 2004 12:58 pm
I would really like that Visual Designer would do a check to only include in the generated code 1 image if it is repeated several times...
Example:
Now
Code: Select all
;- Images
DataSection
Image0:
IncludeBinary "E:\Documentos\Code\Apps\IPGest\gfx\001.ico"
Image1:
IncludeBinary "E:\Documentos\Code\Apps\IPGest\gfx\cliente.bmp"
Image2:
IncludeBinary "E:\Documentos\Code\Apps\IPGest\gfx\cliente.bmp"
Image3:
IncludeBinary "E:\Documentos\Code\Apps\IPGest\gfx\cliente.bmp"
Image4:
IncludeBinary "E:\Documentos\Code\Apps\IPGest\gfx\cliente.bmp"
EndDataSection
With Feature
Code: Select all
;- Images
DataSection
Image0:
IncludeBinary "E:\Documentos\Code\Apps\IPGest\gfx\001.ico"
Image1:
IncludeBinary "E:\Documentos\Code\Apps\IPGest\gfx\cliente.bmp"
GPI
PureBasic Expert
Posts: 1394 Joined: Fri Apr 25, 2003 6:41 pm
Post
by GPI » Sun Feb 29, 2004 1:56 pm
Or maybe so (when it is easier)
Code: Select all
;- Images
DataSection
Image0:
IncludeBinary "E:\Documentos\Code\Apps\IPGest\gfx\001.ico"
Image1:
Image2:
Image3:
Image4:
IncludeBinary "E:\Documentos\Code\Apps\IPGest\gfx\cliente.bmp"
EndDataSection
Berikco
Administrator
Posts: 1326 Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:
Post
by Berikco » Mon Mar 01, 2004 7:20 pm
I will put this unbload functionality on my todo list....with pain in my heart
Fangbeast
PureBasic Protozoa
Posts: 4789 Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)
Post
by Fangbeast » Tue Mar 02, 2004 12:13 am
Berikco wrote: I will put this unbload functionality on my todo list....with pain in my heart
After I fell out of my chair laughing (Thanks a lot Berikco!!) I remembered so many references on your site to lazy. I am sorry they are asking you to go against your nature and work some:):)
(Nearly snorted soy milkout if my nose then and fell out of the chair again, this is just too funny)
Amateur Radio/VK3HAF , (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Fred
Administrator
Posts: 18162 Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:
Post
by Fred » Tue Mar 02, 2004 10:27 am
Berikco