Latest Uploads
terraintest.png

GfK

RobotMindsv18

gameleaper

Chariot racing

gameleaper

LandOfTheFlies

gameleaper

Dungeon Ga ... n Progress

rychan

image-17-0 ... -18-36.jpg

Jayenkai

Code Snippets > Variables ( Created 23 April 2008 | Last Edited 23 April 2008)

Nested Types Example by flying_cucco | No Votes
Written in
Cobra
How to make types-within-types in Cobra -- this took me a while to figure out. Hopefully self explanatory if you are familiar with how the types work, with lists and pointers.

-->

Latest Comments

Posted : Wednesday, 23 April 2008, 13:30
flying_cucco


Of course, they needn't be different types, you can nest the same type

-->

Posted : Wednesday, 23 April 2008, 16:34
codingmonkey


Very interesting.
Does Cobra utilize OOP?

Posted : Monday, 12 May 2008, 13:44
HoboBen


Thanks cucco!

I keep forgetting the exact syntax, and I must have checked back to this page like a million times by now.

Bookmarked!

-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
RIP : Cilla Black
rockford Sun 08:12
Pot Noodle
steve_ancell Sat 18:27
Classic Screensaver-esque 3D Maze
Dabz Sat 14:34
Don't Be So Fucking Lazy
GfK Sat 05:24
Windows 10
Jayenkai Fri 12:55
Great Big Youtube thread
Jayenkai Fri 11:33
SpikeDislike Themes?
rychan Fri 07:31
Deadly Diseases
steve_ancell Thu 17:10
Amazon Wins!
Dabz Thu 15:14
BlitzMax to Monkey
therevillsgames Wed 16:55
More

Latest Items
Showcase : Daily Dungeon
rychan Sun 05:33
Showcase : isometric prototype
Dabz Fri 12:43
Dev-Diary : Helichopper stuffs
Jayenkai Sat 18:10
Blog : Back on the run
rychan Fri 05:59
Showcase : HexWarrior
gameleaper Thu 07:48
Showcase : SpikeDislike3
rychan Sun 13:51
Rant : Refresh Creations -> Refresh Games
rychan Sun 08:20
Link : Ban gay marriage?!
steve_ancell Sat 18:01
Article : Advanced BBCode
Jayenkai Sat 06:02
Showcase : Snake Me Do
rychan Thu 15:04
Showcase : 3DRetroPrivateer41
gameleaper Sat 09:02
Showcase : RobotMinds
gameleaper Thu 14:50
Blog : 3DRetroPrivateer41
gameleaper Wed 20:10
Showcase : WarTactical
gameleaper Wed 19:32
Showcase : TheLandOfTheFlies48Bee
gameleaper Wed 19:17
More

Who's Online
spinal
Sun, at 12:06
rockford
Sun, at 11:39
Dabz
Sun, at 11:27
GfK
Sun, at 11:15
Jayenkai
Sun, at 10:47
rychan
Sun, at 10:30
gameleaper
Sun, at 10:06
Spare
Sun, at 07:35
Pakz
Sun, at 06:32
shroom_monk
Sun, at 04:13
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.