Page 1 of 1
[Implemented] New Datatypes
Posted: Wed Mar 27, 2002 6:35 pm
by BackupUser
Restored from previous forum. Originally posted by Rings.
1)
Long Integer = DoubleLong(8Bytes size) ;For example: MyLongInt.i
2)
Double Float = Real ( (8Bytes size) ; for example: MyDouble.d
3)
Structures with Constant Characters , for example
Structure MyOwn
FirstName.c[10]
LastNasme.c[15]
ID.l
EndStructure
4) Again: unsigned bytes or the Datatype .c (As one character)
Its a long way to the top if you wanna .....CodeGuru
Posted: Wed Mar 27, 2002 10:05 pm
by BackupUser
Restored from previous forum. Originally posted by Danilo.
>Long Integer = DoubleLong(8Bytes size) ;For example: MyLongInt.i
.i looks more like integer and so it looks like a
DWORD with 4 Bytes.
>3) Structures with Constant Characters , for example
>
>Structure MyOwn
>FirstName.c[10]
>LastNasme.c[15]
>ID.l
>EndStructure
>
>4) Again: unsigned bytes or the Datatype .c (As one character)
Thats all possible with v3.0 and the .b type.
The important thing why something like .c(har)
is needed, is that you can access this chars
as a fixed length string:
cya,
...Danilo
(registered PureBasic user)
Edited by - Danilo on 27 March 2002 22:06:58
Posted: Thu Mar 28, 2002 7:36 am
by BackupUser
Restored from previous forum. Originally posted by Rings.
Long Int or perhaps a Double Long is a quad.
(Quadriple Word) So the suffix should be .q
Structure Siggi1
b1.b[10]
EndStructure
works but,
SG.Siggi1
SG\b=" 1"
did Not.So the Solution for Constant Strings did not work.
Its a long way to the top if you wanna .....CodeGuru
Posted: Thu Mar 28, 2002 8:42 am
by BackupUser
Restored from previous forum. Originally posted by Danilo.
Thats what i said, Siggi.
cya,
...Danilo
(registered PureBasic user)
Posted: Thu Mar 28, 2002 8:45 am
by BackupUser
Restored from previous forum. Originally posted by Stan.
...
Thats all possible with v3.0 and the .b type.
...
cya,
...Danilo
Are you back FROM the future ? I mean some time when v3.0 is
available ...
Or is it that will be possible with v3.0 ?
Learning and Love are what life is all about ... [ PB. registered user ]