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
[Implemented] New Datatypes
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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
>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:
Code: Select all
MyOwn\FirstName = " Danilo"
...Danilo
(registered PureBasic user)
Edited by - Danilo on 27 March 2002 22:06:58
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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
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
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Stan.
available ...
Or is it that will be possible with v3.0 ?
Learning and Love are what life is all about ... [ PB. registered user ]
Are you back FROM the future ? I mean some time when v3.0 is...
Thats all possible with v3.0 and the .b type.
...
cya,
...Danilo
available ...
Or is it that will be possible with v3.0 ?
Learning and Love are what life is all about ... [ PB. registered user ]