[Gambas-user] Unsigned int
Lorenzo
fidojones at ...805...
Thu Jul 20 20:11:46 CEST 2006
I think it's very useful, I used it to read binary files in VB and in Delphi I used it too, for example how to read graphics files, without it? (Fabiend, are you doing MDI? it will be similar as old version, with movable windows? )
VB
Type fTypeContabilidad
Fecha As String * 6
dfConcepto As String * 20
dfDetalle As String * 40
dfSigno As Integer
dfImporte As Single
End Type
Delphi
Type
TFCuentas=Record
dfFecha:array[0..5] of Char;
dfConcepto:array[0..19] of Char;
dfDetalle:array[0..39] of Char;
dfSigno:SmallInt;
dfImporte:Single;
end;
One vote for me, I wish list in Gambas web pleaseeeee :D
Regards
Lorenzo
On Thu, 20 Jul 2006 19:31:20 +0200, Fabien Bodard <sirfabien at ...626...> wrote:
> Le Jeudi 20 Juillet 2006 17:11, Leonardo Miliani a écrit :
>> Hi Benoit,
>> do you think to inplement the "unsigned int" data type in Gambas, as is
>> in C language?
>> It could be useful in a lot of cases, i.e. when working on real 32 bit
>> words is needed.
>
>
> it remember me a query to Benoit :-)...
>
>
> Dear Benoit,
> Is it possible to have something like in c to load binary structure ?
>
> For exemple the TYPE model... and some keys to restrict the variable size
>
> like in vb
> TYPE montype
> mystring as string * 32
> mySTaticarray[12] as integer
> END TYPE
>
> dim $montype as montype
>
> fic = open monfichier for read
>
> Read #fic, $montype, len(montype)
> close fic
>
> remember that a type can contain other type or array of type... In fact it
>
> miss me for loading 3D object files. i've trying to do that without but...
>
> it's really difficult as i need to query for each type.
>
> if you have an idea of how to manage structures... without passing by
> classes... please make it ! it's usefull in many place.
>
> Regards,
> Fabien
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list