"Marco Stucchi" <mars...@tin.it> ha scritto nel messaggio
news:%23hxnsxX...@TK2MSFTNGP11.phx.gbl...
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.532 / Virus Database: 326 - Release Date: 27/10/2003
--
Maurizio Tammacco
----------------------------------------------
MCP
newsREM...@clustertech.it
"Alessandro" <bktiger...@tin.it> ha scritto nel messaggio
news:XEPnb.373247$R32.12...@news2.tin.it...
> Ma bastava fare Space(260)...
> Mica c'era bisogno di dimensionare una stringa...
>
>
Beh allora facevi:
Dim Pippo as String
Pippo=Space(260)
e avevi quello che ti serviva, oppure le stringhe a lunghezza fissa (se non
ti dispiace la retrocompatibilità con VB6...) si fanno così:
Imports Microsoft.VisualBasic.VBFixedStringAttribute
<VBFixedStringAttribute(1)> Dim Cifra(3) As String
Che però non puoi dimensionare in una sub o una funzione...
--
Maurizio Tammacco
----------------------------------------------
MCP
newsREM...@clustertech.it
"Alessandro" <bktiger...@tin.it> ha scritto nel messaggio
news:s7Qnb.63478$e5.23...@news1.tin.it...
Infatti, io ho specificato "se ti interessa la retrocompatibilità con
VB6"...
è ovvio che meno scrivi meglio è...
--
Maurizio Tammacco
----------------------------------------------
MCP
newsREM...@clustertech.it
"Alessandro" <bktiger...@tin.it> ha scritto nel messaggio
news:0y2ob.66673$e5.24...@news1.tin.it...