Currency String Gadget - now with Fanglized version

Share your advanced PureBasic knowledge/code with the community.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

Derek wrote:
Fangbeast wrote:Send me hit women by all means but no blondes.
Got a problem with blondes, or is it that they are too dumb to reason with? :lol:
Derek, do you really want me to get into trouble that much?? I'm not saying any more because I want to wake up alive tomorrow :D :D :D :D :D :D :D :D :D
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Fangbeast wrote:
Derek wrote:
Fangbeast wrote:Send me hit women by all means but no blondes.
Got a problem with blondes, or is it that they are too dumb to reason with? :lol:
Derek, do you really want me to get into trouble that much?? I'm not saying any more because I want to wake up alive tomorrow :D :D :D :D :D :D :D :D :D
Yeah, good job my missus doesn't read these posts or I'll be dead as well. :lol:
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

Derek wrote:
Fangbeast wrote:
Derek wrote:
Fangbeast wrote:Send me hit women by all means but no blondes.
Got a problem with blondes, or is it that they are too dumb to reason with? :lol:
Derek, do you really want me to get into trouble that much?? I'm not saying any more because I want to wake up alive tomorrow :D :D :D :D :D :D :D :D :D
Yeah, good job my missus doesn't read these posts or I'll be dead as well. :lol:
Do you make good compost? I've been told that I do and there is a spot under some roses (I loathe roses!!) ready for me.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post by Sparkie »

rsts wrote:...but I believe I've got more ice than you and you've got more snow
We were about 30 - 40 miles away from getting the icy part of that storm. As it was, we ended up with 15" of snow in a 24 hour period.

@netmaestro: Code is looking good but be careful not to get caught up in the Fanglization process, it can get pretty ugly in there :twisted: :P
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

Sparkie wrote:
rsts wrote:...but I believe I've got more ice than you and you've got more snow
We were about 30 - 40 miles away from getting the icy part of that storm. As it was, we ended up with 15" of snow in a 24 hour period.

@netmaestro: Code is looking good but be careful not to get caught up in the Fanglization process, it can get pretty ugly in there :twisted: :P
Sparkie, bite me! :D :D :D :D :D :D
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post by Sparkie »

[humor]

Bite you :!: :?: :!: :?: Bite me :P

It must be the heat talking because I know the true Fangles wouldn't treat me like that :cry:

[/humor]

If you're still getting the 404's on my pics let me know and I'll find some others to help cool you down. 8)
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

"Bite you :!: :?: :!: :?: Bite me :P"

I am the Fanged beast of doom and I shall rend, tear and bite your flesh. Actually, I'm not hungry right now human. Especially sice I cannot get my stomach to settle down for the last 2 days. As crook as a dog and weaker than a politician's promises

"It must be the heat talking because I know the true Fangles wouldn't treat me like that :cry: "


I am a supernatural night hunting fanged were beast (No, were beast, not where beast!!) and I need my meat and bats are a delicacy (Actually, thinking about food right now makes me wan to lose it all and I haven't eaten all day.

If you're still getting the 404's on my pics let me know and I'll find some others to help cool you down. 8)

Actually, I am still getting no pictures but while you are looking, could you find pictures of big titted brunette cheerleaders in their snow outfits??
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post by Sparkie »

Ok, see if the 404's are gone now...http://www.purebasic.fr/english/viewtop ... 528#182528

As for the big titted brunette cheerleaders in their snow outfits pics...my wife is home and even I ain't that brave/dumb. :P
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

Sparkie wrote:Ok, see if the 404's are gone now...http://www.purebasic.fr/english/viewtop ... 528#182528

As for the big titted brunette cheerleaders in their snow outfits pics...my wife is home and even I ain't that brave/dumb. :P
The pictures worked, thanks Sparkie. They make me feel a little better too, haven't been able to eat all day. It's not good to get sick in this heat.

Tell your wife she is a nice lady for letting you lend out your brain to us sometimes (safe topic).

Love that snow, I can always code in the cold, never in the heat. Although, my father says that coming from Hungary where there is always loads of it in the winter, makes you want to scream. He was never so glad to get rid of it all.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

Woohoo, I may even be able to eat solid food tomorrow. yay!! Still can't code in the heat.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

Funny how older posts become useful again and you always find qizards lurking around helping us feebler intellects. Looks like I have to come up with a simpler way to track our finances and I need to use wizard code again!!

Watch me get myself into trouble. :evil: :evil: :evil:
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

srod is watching in keen anticipation!

:twisted:
I may look like a mule, but I'm not a complete ass.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

srod wrote:srod is watching in keen anticipation!

:twisted:
What are you watching?? Your left toe with a beer can perched on it???

I'm still waiting for you to seriously hurt me from the last cheeky post I made in another topic (laughing evilly and booking the ufo out of the galaxy so you can't hurt me too badly)
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

Looked at this... wow! Too big to wrap my little brain around.

What I do is this!

Code: Select all


; in a procedure in my program I have to grab the numbers from a gadget

Procedure TOTALTICKET()
; ******* first I reset all variables in case there is a stray out there
Result = 0
Result$ = ""
Cost$ = ""
subtotal.d = 0
subtot.d = 0

; ********  get the number of items we are gonna thunderplork!

Result = CountGadgetItems(#ListIcon_TICKET)

For t = 0 To Result
  Result$ = GetGadgetItemText(#ListIcon_TICKET, t, 2) ; 2 decimal places
    subtot.d = ValD(Result$)
      subtotal.d = subtotal + subtot
Next
      RESU$ = StrD(subtotal,2) ; *** reaffirm 2 decimal places (this is money all over the world!)
        ;frag$  = "$ "+ RESU$
       SetGadgetText(#Text_SUBT, RESU$) ; set the gadget that shows subtotal the dollar amount...

TOTALTAX() ; go to the procedure that adds the TAXES

EndProcedure
;
Basically this is 2 calls... If I remember correctly srod and trond even helped me figure this out! :)
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Currency String Gadget - now with Fanglized version

Post by Fangbeast »

Wow, can't believe this was way back in 2007 when I was younger.
I have to do a home inventory package that works (and looks good) just for the family as the house insurer wants everything in a neat list (AKA spreadsheet) or they will charge us heaps of moolah to read all the papers.

NetMaesto, if you are reading this old post, is there a chance that commas could make it into that Fanglized Currency gadget?

Not to worry if not, just an idea for completeness's sake.

And before any other forum smartass makes a comment about daring to front the qizard (Bit like Oliver asking for "more"), I'm allowed to ask because it states "Fanglized"!! So there!!!!
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Post Reply