Autore Topic: Perché l'oggetto LCDNumber è obsoleto ?  (Letto 286 volte)

Offline vuott

  • Moderatore globale
  • Senatore Gambero
  • *****
  • Post: 11.303
  • Ne mors quidem nos iunget
    • Mostra profilo
Perché l'oggetto LCDNumber è obsoleto ?
« il: 30 Agosto 2013, 10:57:34 »
Riporto questa discussione apparsa nella M.L. internazionale:


" the docs say that LCDNumber is deprecated and that one should use LCDLabel
instead. I can partly understand the reason: each number can be converted to
a string so no need to have a LCDNumber. (Or is there any other reason?)

However, it indeed is some nice shortcut with its Value property and the
conversion constants. I'd personally like to keep it. What do you think?

Regards,
Tobi
"


" LCDLabel.Value added in revision #5819.

Regards,

--
Benoît Minisini
"


" So you suggest to also remove the article about LCDNumber from our book
because the class will vanish soon? (Or asked a different way: Is there a
"removal schedule" for deprecated classes?)

Regards,
Tobi
"


" "deprecated" means "do not use it anymore, it will be removed in the
next *major* release of Gambas, i.e. Gambas 4.

Regards,

--
Benoît Minisini
"
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »