Latest Uploads
Kuron Cap Get!

rychan

Merry Christmas

Jayenkai

Invasion V ... tup screen

rychan

image-07-1 ... -20-59.jpg

Jayenkai

PixeLink - ... oween 2014

rockford

PixeLink P ... zle Editor

rockford

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!

Latest Posts
RIP : Leonard Nimoy
steve_ancell Fri 18:15
Daily Doodles
Jayenkai Fri 05:14
FauxLego
Kuron Thu 18:11
Great Big Youtube thread
Jayenkai Thu 14:51
Happy Birthday Pakz
Pakz Thu 11:37
Beating the Invading Army
rockford Thu 07:05
What Have You Done - Feb 2015
Jayenkai Thu 05:40
Pebble Time (aka Pebble 2)
spinal Wed 13:46
Kuron's Mum
Kuron Wed 11:57
''Is SoCoder Down?''
Kuron Wed 05:24
More

Latest Items
Snippet : IFS Fractal Viewer
Andy_A Mon 14:20
Snippet : Rotating Sphere
Andy_A Tue 14:25
Showcase : Futrino
Jayenkai Thu 06:16
Showcase : Millenipede
Steve Elliott Mon 17:44
Showcase : Flappy New Year
rychan Wed 02:49
Snippet : Simple stack-based interpreter
tbohon Wed 12:08
Link : Protolol
Afr0 Tue 10:53
Showcase : Santa's Workout 2
jayparker Tue 00:43
Dev-Diary : Stripping it All Away
Jayenkai Mon 01:57
News : Newsletter #245
rychan Fri 06:36
Showcase : GPS Fun Runner 3D
zzoom Wed 15:35
Showcase : The Biggest Snowman
rychan Mon 01:06
News : Newsletter #243
Dabz Thu 03:29
Dev-Diary : Scaling Back
rychan Wed 14:33
Showcase : Alpha Collexion
rychan Wed 06:23
More

Who's Online
rockford
Fri, at 21:48
steve_ancell
Fri, at 21:12
Dabz
Fri, at 20:30
shroom_monk
Fri, at 19:15
blanko1324
Fri, at 16:54
Jayenkai
Fri, at 16:45
Andy_A
Fri, at 16:16
Pakz
Fri, at 11:00
Kuron
Fri, at 06:08
spinal
Fri, at 03:09
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.